version 1.3.2.3, 2004/09/20 21:03:03
|
version 1.3.2.4, 2004/09/23 17:23:20
|
|
|
_simpleValue = rep->_simpleValue; | _simpleValue = rep->_simpleValue; |
} | } |
| |
CQLFactorRep::CQLFactorRep(CQLValue& inCQLVal) |
CQLFactorRep::CQLFactorRep(const CQLValue& inCQLVal) |
{ | { |
_CQLVal = inCQLVal; | _CQLVal = inCQLVal; |
_simpleValue = true; | _simpleValue = true; |
|
|
| |
String CQLFactorRep::toString() | String CQLFactorRep::toString() |
{ | { |
|
printf("CQLFactorRep::toString()\n"); |
|
if(_simpleValue){ |
|
return _CQLVal.toString(); |
|
} |
if(_CQLFunct != CQLFunction()) | if(_CQLFunct != CQLFunction()) |
{ | { |
return _CQLFunct.toString(); | return _CQLFunct.toString(); |
} |
}else |
else if(_CQLExp != CQLExpression()) |
|
{ | { |
return _CQLExp.toString(); | return _CQLExp.toString(); |
} | } |
else |
|
{ |
|
return _CQLVal.toString(); |
|
} |
|
} | } |
| |
void CQLFactorRep::applyScopes(Array<CQLScope> inScopes) | void CQLFactorRep::applyScopes(Array<CQLScope> inScopes) |