#include <expression.h>
Public Member Functions | |
ExpressionImpl () | |
virtual | ~ExpressionImpl () |
void | ref () throw () |
Increment the reference count for this object. | |
bool | unref () throw () |
Decrement the reference count for this object, returning true when it reaches 0. | |
virtual std::string | format () const =0 |
Provide a string representation of this expression. | |
virtual bool | eval (const TagexprContext &context) const =0 |
Evaluates the expression on a recursive context. | |
virtual bool | eval (const std::set< std::string > &tags) const =0 |
Evaluates the expression on a set of tags. | |
Protected Attributes | |
int | _ref |
tagcoll::ExpressionImpl::ExpressionImpl | ( | ) | [inline] |
virtual tagcoll::ExpressionImpl::~ExpressionImpl | ( | ) | [inline, virtual] |
void tagcoll::ExpressionImpl::ref | ( | ) | throw () [inline] |
Increment the reference count for this object.
bool tagcoll::ExpressionImpl::unref | ( | ) | throw () [inline] |
Decrement the reference count for this object, returning true when it reaches 0.
virtual std::string tagcoll::ExpressionImpl::format | ( | ) | const [pure virtual] |
Provide a string representation of this expression.
virtual bool tagcoll::ExpressionImpl::eval | ( | const TagexprContext & | context | ) | const [pure virtual] |
virtual bool tagcoll::ExpressionImpl::eval | ( | const std::set< std::string > & | tags | ) | const [pure virtual] |
Evaluates the expression on a set of tags.
int tagcoll::ExpressionImpl::_ref [protected] |