version 1.9, 2006/01/30 16:16:39
|
version 1.10, 2007/04/18 20:14:35
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Dave Rosckes (rosckes@us.ibm.com) |
|
// |
|
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// Vijay Eli, IBM (vijayeli@in.ibm.com) bug#3590 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
#include <Pegasus/CQL/CQLValue.h> | #include <Pegasus/CQL/CQLValue.h> |
#include <Pegasus/Repository/NameSpaceManager.h> | #include <Pegasus/Repository/NameSpaceManager.h> |
|
|
_rep = new CQLValueRep(val._rep); | _rep = new CQLValueRep(val._rep); |
} | } |
| |
CQLValue::CQLValue(const String& inString, NumericType inValueType, Boolean inSign) |
CQLValue::CQLValue(const String& inString, NumericType inValueType, |
|
Boolean inSign) |
{ | { |
_rep = new CQLValueRep(inString, inValueType, inSign); | _rep = new CQLValueRep(inString, inValueType, inSign); |
} | } |
|
|
return _rep->isNull(); | return _rep->isNull(); |
} | } |
| |
Boolean CQLValue::isa(const CQLChainedIdentifier& cid, QueryContext& QueryCtx) const |
Boolean CQLValue::isa(const CQLChainedIdentifier& cid, |
|
QueryContext& QueryCtx) const |
{ | { |
return _rep->isa(cid, QueryCtx); | return _rep->isa(cid, QueryCtx); |
} | } |