JunctionCriterion Class Reference

#include <librets/JunctionCriterion.h>

Inheritance diagram for JunctionCriterion:

DmqlCriterion RetsObject AndCriterion OrCriterion

List of all members.

Public Member Functions

 JunctionCriterion ()
void add (DmqlCriterionPtr criterion)
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 (JunctionCriterionPtr junction)
void addAll (const CriterionList &criteria)
virtual std::string OperationName () const =0
virtual std::string Operator () const =0

Protected Attributes

CriterionList mCriteria


Member Typedef Documentation

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


Constructor & Destructor Documentation


Member Function Documentation

void add ( DmqlCriterionPtr  criterion  ) 

void addAll ( const CriterionList criteria  )  [protected]

void addAll ( JunctionCriterionPtr  junction  )  [protected]

bool Equals ( const RetsObject object  )  const [virtual]

Reimplemented from RetsObject.

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

Implemented in AndCriterion, and OrCriterion.

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

Implemented in AndCriterion, and OrCriterion.

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]


Generated by  doxygen