version 1.1.2.14, 2004/10/05 19:15:26
|
version 1.1.2.15, 2004/10/18 21:30:10
|
|
|
CQLExpression(); | CQLExpression(); |
/** constructor takes one CQLTerm object. | /** constructor takes one CQLTerm object. |
*/ | */ |
CQLExpression(CQLTerm& theTerm); |
CQLExpression(const CQLTerm& theTerm); |
CQLExpression(const CQLExpression& inExpress); | CQLExpression(const CQLExpression& inExpress); |
/** the getValue method evaluates the expression and returns the value. | /** the getValue method evaluates the expression and returns the value. |
Any property that need to be resolved into a value is taken from the | Any property that need to be resolved into a value is taken from the |
|
|
when invoked will always pass in an integer that is the Term operation | when invoked will always pass in an integer that is the Term operation |
type and a CQLTerm object. | type and a CQLTerm object. |
*/ | */ |
void appendOperation(TermOpType theTermOpType, CQLTerm& theTerm); |
void appendOperation(const TermOpType theTermOpType, const CQLTerm& theTerm); |
| |
String toString(); |
String toString()const; |
| |
Boolean isSimple(); |
Boolean isSimple()const; |
| |
Boolean isSimpleValue(); |
Boolean isSimpleValue()const; |
| |
Array<CQLTerm> getTerms(); |
Array<CQLTerm> getTerms()const; |
| |
Array<TermOpType> getOperators(); |
Array<TermOpType> getOperators()const; |
| |
void applyContext(QueryContext& inContext, | void applyContext(QueryContext& inContext, |
CQLChainedIdentifier inCid = CQLChainedIdentifier()); | CQLChainedIdentifier inCid = CQLChainedIdentifier()); |
| |
CQLExpression& operator=(const CQLExpression& rhs); | CQLExpression& operator=(const CQLExpression& rhs); |
| |
Boolean operator==(const CQLExpression& expr); |
Boolean operator==(const CQLExpression& expr)const; |
| |
Boolean operator!=(const CQLExpression& expr); |
Boolean operator!=(const CQLExpression& expr)const; |
| |
friend class CQLFactory; | friend class CQLFactory; |
| |