version 1.10, 2006/01/30 16:16:38
|
version 1.11, 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 "CQLFactorRep.h" | #include "CQLFactorRep.h" |
|
|
_containedType(rep->_containedType) | _containedType(rep->_containedType) |
| |
{ | { |
PEG_METHOD_ENTER(TRC_CQL,"CQLFactorRep::CQLFactorRep(const CQLFactorRep* rep)"); |
PEG_METHOD_ENTER(TRC_CQL, |
|
"CQLFactorRep::CQLFactorRep(const CQLFactorRep* rep)"); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
|
|
_containedType(VALUE) | _containedType(VALUE) |
| |
{ | { |
PEG_METHOD_ENTER(TRC_CQL,"CQLFactorRep::CQLFactorRep(const CQLValue& inCQLVal)"); |
PEG_METHOD_ENTER(TRC_CQL, |
|
"CQLFactorRep::CQLFactorRep(const CQLValue& inCQLVal)"); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
|
|
_simpleValue(false), | _simpleValue(false), |
_containedType(EXPRESSION) | _containedType(EXPRESSION) |
{ | { |
PEG_METHOD_ENTER(TRC_CQL,"CQLFactorRep::CQLFactorRep(const CQLExpression& inCQLExp)"); |
PEG_METHOD_ENTER(TRC_CQL, |
|
"CQLFactorRep::CQLFactorRep(const CQLExpression& inCQLExp)"); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
|
|
_simpleValue(false), | _simpleValue(false), |
_containedType(FUNCTION) | _containedType(FUNCTION) |
{ | { |
PEG_METHOD_ENTER(TRC_CQL,"CQLFactorRep::CQLFactorRep(const CQLFunction& inCQLFunc)"); |
PEG_METHOD_ENTER(TRC_CQL, |
|
"CQLFactorRep::CQLFactorRep(const CQLFunction& inCQLFunc)"); |
| |
PEG_METHOD_EXIT(); | PEG_METHOD_EXIT(); |
} | } |
|
|
return _CQLVal; | return _CQLVal; |
} | } |
| |
CQLValue CQLFactorRep::resolveValue(const CIMInstance& CI, const QueryContext& QueryCtx) |
CQLValue CQLFactorRep::resolveValue(const CIMInstance& CI, |
|
const QueryContext& QueryCtx) |
{ | { |
PEG_METHOD_ENTER(TRC_CQL,"CQLFactorRep::resolveValue()"); | PEG_METHOD_ENTER(TRC_CQL,"CQLFactorRep::resolveValue()"); |
| |