fesa::SortingExpression Class Reference

This is the base class which defines sorting expressions in the sorting package. It defines the match method in order to find out if the expression matches the context. More...

#include <SortingExpression.h>

Inheritance diagram for fesa::SortingExpression:
fesa::ComplementExpression fesa::FieldExpression fesa::IntersectExpression fesa::UnionExpression

List of all members.

Public Member Functions

virtual ~SortingExpression ()
virtual bool match (SortingContext)=0
virtual std::set
< HomogeneousDevCol * > 
evaluate ()=0
 This method evaluates data using the expression and returns the result.

Static Public Member Functions

static void removeBlanks (std::string *)
static void setDeviceCollection (std::vector< AbstractDevice * > *)
static SortingExpressiontryMatch (SortingContext)

Static Protected Attributes

static std::vector
< AbstractDevice * > * 
pDevCol_ = NULL

Detailed Description

This is the base class which defines sorting expressions in the sorting package. It defines the match method in order to find out if the expression matches the context.

Definition at line 56 of file SortingExpression.h.


Constructor & Destructor Documentation

virtual fesa::SortingExpression::~SortingExpression (  )  [inline, virtual]

Definition at line 60 of file SortingExpression.h.


Member Function Documentation

fesa::SortingExpression::evaluate (  )  [pure virtual]
virtual bool fesa::SortingExpression::match ( SortingContext   )  [pure virtual]
void fesa::SortingExpression::removeBlanks ( std::string *  pS  )  [static]

Definition at line 28 of file SortingExpression.cpp.

Referenced by fesa::SortingInterpreter::interpret().

void fesa::SortingExpression::setDeviceCollection ( std::vector< AbstractDevice * > *  pDevCol  )  [static]

Definition at line 54 of file SortingExpression.cpp.

References pDevCol_.

Referenced by fesa::SortingInterpreter::interpret().

SortingExpression * fesa::SortingExpression::tryMatch ( SortingContext  sc  )  [static]

Member Data Documentation

std::vector< AbstractDevice * > * fesa::SortingExpression::pDevCol_ = NULL [static, protected]

Definition at line 99 of file SortingExpression.h.

Referenced by fesa::FieldExpression::match(), and setDeviceCollection().


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

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1