LookupCriterion Class Reference

#include <librets/LookupCriterion.h>

Inheritance diagram for LookupCriterion:

DmqlCriterion RetsObject LookupOrCriterion

List of all members.

Public Member Functions

 LookupCriterion (std::string field)
std::string getField () const
void add (DmqlCriterionPtr criterion)
void addAll (LookupCriterionPtr lookup)
virtual std::ostream & ToDmql (std::ostream &outputStream) const
virtual std::ostream & Print (std::ostream &outputStream) const
bool Equals (const RetsObject *object) const
std::string ToDmqlString ()
std::string ToString () const

Protected Types

typedef std::vector
< DmqlCriterionPtr
CriterionList

Protected Member Functions

void addAll (const CriterionList &criteria)
virtual std::string OperationName () const =0
virtual std::string Operator () const =0

Protected Attributes

std::string mField
CriterionList mCriteria


Member Typedef Documentation

typedef std::vector<DmqlCriterionPtr> CriterionList [protected]


Constructor & Destructor Documentation

LookupCriterion ( std::string  field  ) 


Member Function Documentation

void add ( DmqlCriterionPtr  criterion  ) 

void addAll ( const CriterionList criteria  )  [protected]

void addAll ( LookupCriterionPtr  lookup  ) 

bool Equals ( const RetsObject object  )  const [virtual]

Reimplemented from RetsObject.

std::string getField (  )  const

virtual std::string OperationName (  )  const [protected, pure virtual]

Implemented in LookupOrCriterion.

virtual std::string Operator (  )  const [protected, pure virtual]

Implemented in LookupOrCriterion.

virtual std::ostream& Print ( std::ostream &  outputStream  )  const [virtual]

Reimplemented from RetsObject.

virtual std::ostream& ToDmql ( std::ostream &  outputStream  )  const [virtual]

Implements DmqlCriterion.

std::string ToDmqlString (  )  [inherited]

std::string ToString (  )  const [inherited]


Member Data Documentation

CriterionList mCriteria [protected]

std::string mField [protected]


Generated by  doxygen