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

Diff for /pegasus/src/Pegasus/CQL/CQLSelectStatement.cpp between version 1.1.2.4 and 1.1.2.5

version 1.1.2.4, 2004/09/09 16:10:22 version 1.1.2.5, 2004/09/20 21:03:03
Line 3 
Line 3 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   CQLSelectStatement::CQLSelectStatement():SelectStatement(){
   //      printf("CQLSelectStatement()\n");
           _rep = new CQLSelectStatementRep();
   }
   
 CQLSelectStatement::CQLSelectStatement(String inQlang, String inQuery, QueryContext& inCtx) CQLSelectStatement::CQLSelectStatement(String inQlang, String inQuery, QueryContext& inCtx)
 { {
         _rep = new CQLSelectStatementRep(inQlang,inQuery,inCtx);         _rep = new CQLSelectStatementRep(inQlang,inQuery,inCtx);
 } }
  
   CQLSelectStatement::CQLSelectStatement(const CQLSelectStatement& statement):SelectStatement(statement){
           _rep = new CQLSelectStatementRep(statement._rep);
   }
   
 CQLSelectStatement::~CQLSelectStatement(){ CQLSelectStatement::~CQLSelectStatement(){
         if(_rep)         if(_rep)
                 delete _rep;                 delete _rep;
Line 65 
Line 74 
  
 void CQLSelectStatement::appendSelectIdentifier(const CQLChainedIdentifier& x) void CQLSelectStatement::appendSelectIdentifier(const CQLChainedIdentifier& x)
 { {
           printf("CQLSelectStatement::appendSelectIdentifier\n");
         _rep->appendSelectIdentifier(x);         _rep->appendSelectIdentifier(x);
 } }
  
Line 73 
Line 83 
    return _rep->appendWhereIdentifier(x);    return _rep->appendWhereIdentifier(x);
 } }
  
   CQLSelectStatement& CQLSelectStatement::operator=(const CQLSelectStatement& rhs){
           if(&rhs != this){
                   if(_rep) delete _rep;
                   _rep = new CQLSelectStatementRep(rhs._rep);
           }
           return *this;
   }
   
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2