#include <Expression.h>
Inheritance diagram for Tagcoll::ExpressionImpl:
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 OpSet< 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 OpSet< std::string > & | tags | ) | const [pure virtual] |
Evaluates the expression on a set of tags.
int Tagcoll::ExpressionImpl::_ref [protected] |