Predicate Class Reference

Represents a single term in the condition. More...

#include <Predicate.h>

Inheritance diagram for Predicate:

Inheritance graph
[legend]

Public Member Functions

virtual void setTerm (const char *fName1, ComparisionOp op, const char *fName2)=0
virtual void setTerm (const char *fName1, ComparisionOp op, void *opnd)=0
virtual void setTerm (const char *fName1, ComparisionOp op, void **opnd)=0
virtual void setTerm (Predicate *p1, LogicalOp op, Predicate *p2=NULL)=0
virtual void print ()=0
virtual ~Predicate ()

Detailed Description

Represents a single term in the condition.

Condition is logical expression composed of terms and logical operators. This represents the leaf of the logical expression tree. This is designed using composite design pattern

Author:
Prabakaran Thirumalai

Definition at line 102 of file Predicate.h.


Constructor & Destructor Documentation

virtual Predicate::~Predicate (  )  [inline, virtual]

Definition at line 116 of file Predicate.h.

00116 {}


Member Function Documentation

virtual void Predicate::print (  )  [pure virtual]

Implemented in PredicateImpl.

virtual void Predicate::setTerm ( Predicate p1,
LogicalOp  op,
Predicate p2 = NULL 
) [pure virtual]

Implemented in PredicateImpl.

virtual void Predicate::setTerm ( const char *  fName1,
ComparisionOp  op,
void **  opnd 
) [pure virtual]

Implemented in PredicateImpl.

virtual void Predicate::setTerm ( const char *  fName1,
ComparisionOp  op,
void *  opnd 
) [pure virtual]

Implemented in PredicateImpl.

virtual void Predicate::setTerm ( const char *  fName1,
ComparisionOp  op,
const char *  fName2 
) [pure virtual]

Implemented in PredicateImpl.

Referenced by Condition::setTerm().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 22:50:03 2008 for csql by  doxygen 1.4.7