version 1.1.2.14, 2004/10/05 19:15:26
|
version 1.1.2.15, 2004/10/18 21:19:00
|
|
|
_rep = new CQLFactorRep(inCQLVal); | _rep = new CQLFactorRep(inCQLVal); |
} | } |
| |
CQLFactor::CQLFactor(CQLExpression& inCQLExp) |
CQLFactor::CQLFactor(const CQLExpression& inCQLExp) |
{ | { |
_rep = new CQLFactorRep(inCQLExp); | _rep = new CQLFactorRep(inCQLExp); |
} | } |
| |
CQLFactor::CQLFactor(CQLFunction& inCQLFunc) |
CQLFactor::CQLFactor(const CQLFunction& inCQLFunc) |
{ | { |
_rep = new CQLFactorRep(inCQLFunc); | _rep = new CQLFactorRep(inCQLFunc); |
} | } |
|
|
} | } |
} | } |
| |
CQLValue CQLFactor::getValue() |
CQLValue CQLFactor::getValue()const |
{ | { |
return _rep->getValue(); | return _rep->getValue(); |
} | } |
|
|
{ | { |
return _rep->resolveValue(CI, QueryCtx); | return _rep->resolveValue(CI, QueryCtx); |
} | } |
Boolean CQLFactor::isSimple() |
Boolean CQLFactor::isSimple()const |
{ | { |
return _rep->isSimple(); | return _rep->isSimple(); |
} | } |
Boolean CQLFactor::isSimpleValue() |
Boolean CQLFactor::isSimpleValue()const |
{ | { |
return _rep->isSimpleValue(); | return _rep->isSimpleValue(); |
} | } |
| |
CQLFunction CQLFactor::getCQLFunction() |
CQLFunction CQLFactor::getCQLFunction()const |
{ | { |
return _rep->getCQLFunction(); | return _rep->getCQLFunction(); |
} | } |
| |
CQLExpression CQLFactor::getCQLExpression() |
CQLExpression CQLFactor::getCQLExpression()const |
{ | { |
return _rep->getCQLExpression(); | return _rep->getCQLExpression(); |
} | } |
| |
String CQLFactor::toString() |
String CQLFactor::toString()const |
{ | { |
return _rep->toString(); | return _rep->toString(); |
} | } |
|
|
return *this; | return *this; |
} | } |
| |
Boolean CQLFactor::operator==(const CQLFactor& factor){ |
Boolean CQLFactor::operator==(const CQLFactor& factor)const{ |
return (_rep == factor._rep); | return (_rep == factor._rep); |
} | } |
Boolean CQLFactor::operator!=(const CQLFactor& factor){ |
Boolean CQLFactor::operator!=(const CQLFactor& factor)const{ |
return (!operator==(factor)); | return (!operator==(factor)); |
} | } |
| |