Logo Search packages:      
Sourcecode: pan version File versions  Download package

pan::FilterInfo Class Reference
[Backend Interfaces]

#include <filter-info.h>

List of all members.


Detailed Description

Interface class describing a filter that can be applied to a set of articles.

Definition at line 34 of file filter-info.h.


Public Types

typedef std::vector< FilterInfoaggregates_t
enum  Type {
  TYPE_ERR, AGGREGATE_AND, AGGREGATE_OR, IS_BINARY,
  IS_CACHED, IS_POSTED_BY_ME, IS_UNREAD, BYTE_COUNT_GE,
  CROSSPOST_COUNT_GE, DAYS_OLD_GE, LINE_COUNT_GE, SCORE_GE,
  TEXT
}

Public Member Functions

void clear ()
std::string describe () const
bool empty () const
void set_negate (bool b)
void set_type_aggregate_and ()
void set_type_aggregate_or ()
void set_type_binary ()
void set_type_byte_count_ge (unsigned long ge)
void set_type_cached ()
void set_type_crosspost_count_ge (unsigned long ge)
void set_type_days_old_ge (unsigned long ge)
void set_type_days_old_le (unsigned long ge)
void set_type_is_unread ()
void set_type_line_count_ge (unsigned long ge)
void set_type_posted_by_me ()
void set_type_score_ge (unsigned long ge)
void set_type_score_le (unsigned long le)
void set_type_text (const Quark &header, const TextMatch::Description &)

Public Attributes

aggregates_t _aggregates
long _ge
Quark _header
bool _negate
TextMatch _text
Type _type

Private Member Functions

void set_type_ge (Type type, unsigned long ge)
void set_type_is (Type type)
void set_type_le (Type type, unsigned long le)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index