(file) Return to CQLFactorRep.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / CQL

Diff for /pegasus/src/Pegasus/CQL/CQLFactorRep.cpp between version 1.3.2.3 and 1.3.2.4

version 1.3.2.3, 2004/09/20 21:03:03 version 1.3.2.4, 2004/09/23 17:23:20
Line 21 
Line 21 
    _simpleValue = rep->_simpleValue;    _simpleValue = rep->_simpleValue;
 } }
  
 CQLFactorRep::CQLFactorRep(CQLValue& inCQLVal)  CQLFactorRep::CQLFactorRep(const CQLValue& inCQLVal)
 { {
    _CQLVal = inCQLVal;    _CQLVal = inCQLVal;
    _simpleValue = true;    _simpleValue = true;
Line 84 
Line 84 
  
 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)


Legend:
Removed from v.1.3.2.3  
changed lines
  Added in v.1.3.2.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2