Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Tagcoll::ExpressionFilter Class Reference

#include <ExpressionFilter.h>

Inheritance diagram for Tagcoll::ExpressionFilter:

Tagcoll::TagcollFilter< std::string > Tagcoll::TagcollConsumer< std::string, std::string > List of all members.

Public Types

enum  MatchType { PLAIN, INVERTED }

Public Member Functions

 ExpressionFilter () throw ()
virtual ~ExpressionFilter () throw ()
bool setExpression (const std::string &expression) throw ()
void setMatchType (MatchType type) throw ()
int countMatched () const throw ()
virtual void consume (const std::string &item) throw ()
virtual void consume (const std::string &item, const OpSet< std::string > &tags) throw ()
virtual void consume (const OpSet< std::string > &items) throw ()
virtual void consume (const OpSet< std::string > &items, const OpSet< std::string > &tags) throw ()

Protected Member Functions

bool match (const OpSet< std::string > &ts) const throw ()

Protected Attributes

Tagexprexpr
int matched
MatchType matchType

Member Enumeration Documentation

enum Tagcoll::ExpressionFilter::MatchType
 

Enumerator:
PLAIN 
INVERTED 


Constructor & Destructor Documentation

Tagcoll::ExpressionFilter::ExpressionFilter  )  throw () [inline]
 

virtual Tagcoll::ExpressionFilter::~ExpressionFilter  )  throw () [inline, virtual]
 


Member Function Documentation

virtual void Tagcoll::ExpressionFilter::consume const OpSet< std::string > &  items,
const OpSet< std::string > &  tags
throw () [inline, virtual]
 

Reimplemented from Tagcoll::TagcollConsumer< std::string, std::string >.

virtual void Tagcoll::ExpressionFilter::consume const OpSet< std::string > &  items  )  throw () [inline, virtual]
 

Reimplemented from Tagcoll::TagcollConsumer< std::string, std::string >.

virtual void Tagcoll::ExpressionFilter::consume const std::string &  item,
const OpSet< std::string > &  tags
throw () [inline, virtual]
 

Implements Tagcoll::TagcollConsumer< std::string, std::string >.

virtual void Tagcoll::ExpressionFilter::consume const std::string &  item  )  throw () [inline, virtual]
 

Implements Tagcoll::TagcollConsumer< std::string, std::string >.

int Tagcoll::ExpressionFilter::countMatched  )  const throw () [inline]
 

bool Tagcoll::ExpressionFilter::match const OpSet< std::string > &  ts  )  const throw () [protected]
 

bool ExpressionFilter::setExpression const std::string &  expression  )  throw ()
 

void Tagcoll::ExpressionFilter::setMatchType MatchType  type  )  throw () [inline]
 


Member Data Documentation

Tagexpr* Tagcoll::ExpressionFilter::expr [protected]
 

int Tagcoll::ExpressionFilter::matched [protected]
 

MatchType Tagcoll::ExpressionFilter::matchType [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Jul 3 21:03:36 2005 for libtagcoll by  doxygen 1.4.3-20050530