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

Tagcoll::ExpressionFilter Class Reference

#include <ExpressionFilter.h>

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
 

Enumeration values:
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]
 

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

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

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

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

bool 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 Aug 15 12:36:22 2004 for libtagcoll by doxygen 1.3.8