version 1.7, 2006/01/30 16:16:38
|
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 <Pegasus/CQL/CQLFunction.h> | #include <Pegasus/CQL/CQLFunction.h> |
|
|
delete _rep; | delete _rep; |
} | } |
| |
CQLValue CQLFunction::resolveValue(const CIMInstance& CI, const QueryContext& queryCtx) |
CQLValue CQLFunction::resolveValue(const CIMInstance& CI, |
|
const QueryContext& queryCtx) |
{ | { |
return _rep->resolveValue(CI,queryCtx); | return _rep->resolveValue(CI,queryCtx); |
} | } |
|
|
_rep->applyContext(inContext); | _rep->applyContext(inContext); |
} | } |
| |
CQLFunction& CQLFunction::operator=(const CQLFunction& rhs){ |
CQLFunction& CQLFunction::operator=(const CQLFunction& rhs) |
if(&rhs != this){ |
{ |
|
if(&rhs != this) |
|
{ |
if(_rep) delete _rep; | if(_rep) delete _rep; |
_rep = new CQLFunctionRep(rhs._rep); | _rep = new CQLFunctionRep(rhs._rep); |
} | } |