version 1.7, 2006/01/30 16:16:39
|
version 1.8, 2007/04/18 20:14:35
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Authors: David Rosckes (rosckes@us.ibm.com) |
|
// Bert Rivero (hurivero@us.ibm.com) |
|
// Chuck Carmack (carmack@us.ibm.com) |
|
// Brian Lucier (lucier@us.ibm.com) |
|
// |
|
// Modified By: Vijay Eli, IBM (vijayeli@in.ibm.com) bug#3590 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include "CQLPredicate.h" | #include "CQLPredicate.h" |
|
|
_rep = new CQLPredicateRep(); | _rep = new CQLPredicateRep(); |
} | } |
| |
CQLPredicate::CQLPredicate(const CQLSimplePredicate& inSimplePredicate, Boolean inVerted) |
CQLPredicate::CQLPredicate(const CQLSimplePredicate& inSimplePredicate, |
|
Boolean inVerted) |
{ | { |
_rep = new CQLPredicateRep(inSimplePredicate,inVerted); | _rep = new CQLPredicateRep(inSimplePredicate,inVerted); |
} | } |
|
|
_rep->appendPredicate(inPredicate); | _rep->appendPredicate(inPredicate); |
} | } |
| |
void CQLPredicate::appendPredicate(const CQLPredicate& inPredicate, BooleanOpType inBooleanOperator) |
void CQLPredicate::appendPredicate(const CQLPredicate& inPredicate, |
|
BooleanOpType inBooleanOperator ) |
{ | { |
_rep->appendPredicate(inPredicate,inBooleanOperator); | _rep->appendPredicate(inPredicate,inBooleanOperator); |
} | } |