version 1.2, 2004/09/07 16:46:38
|
version 1.2.2.3, 2004/09/20 21:03:03
|
|
|
#include <Pegasus/CQL/CQLValue.h> | #include <Pegasus/CQL/CQLValue.h> |
#include <Pegasus/CQL/Linkage.h> | #include <Pegasus/CQL/Linkage.h> |
#include <Pegasus/CQL/CQLScope.h> | #include <Pegasus/CQL/CQLScope.h> |
#include <Pegasus/CQL/CQLExpression.h> |
//#include <Pegasus/CQL/CQLExpression.h> |
|
#include <Pegasus/CQL/CQLPredicate.h> |
| |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class PEGASUS_CQL_LINKAGE CQLFactory; | class PEGASUS_CQL_LINKAGE CQLFactory; |
|
//class PEGASUS_CQL_LINKAGE CQLPredicate; |
/* | /* |
CQLFunction objects are populated by the | CQLFunction objects are populated by the |
Bison code. | Bison code. |
|
|
| |
| |
CQLFunctionRep() {}; | CQLFunctionRep() {}; |
CQLFunctionRep(const CQLFunctionRep& inFunc); |
CQLFunctionRep(const CQLFunctionRep* rep); |
CQLFunctionRep(FunctionOpType inFunctionOpType, Array<CQLExpression> inParms); |
//CQLFunctionRep(FunctionOpType inFunctionOpType, Array<CQLExpression> inParms); |
|
CQLFunctionRep(CQLIdentifier inOpType, Array<CQLPredicate> inParms); |
~CQLFunctionRep(); | ~CQLFunctionRep(); |
/** | /** |
The getValue method validates the parms versus FunctionOpType. | The getValue method validates the parms versus FunctionOpType. |
|
|
Returns a CQLValue object that has already been resolved. | Returns a CQLValue object that has already been resolved. |
*/ | */ |
CQLValue resolveValue(CIMInstance CI, QueryContext& queryCtx); | CQLValue resolveValue(CIMInstance CI, QueryContext& queryCtx); |
Array<CQLExpression> getParms(); |
Array<CQLPredicate> getParms(); |
FunctionOpType getFunctionType(); | FunctionOpType getFunctionType(); |
String toString(); | String toString(); |
void applyScopes(Array<CQLScope> inScopes); | void applyScopes(Array<CQLScope> inScopes); |
|
|
| |
FunctionOpType _funcOpType; | FunctionOpType _funcOpType; |
| |
Array<CQLExpression> _parms; |
Array<CQLPredicate> _parms; |
| |
}; | }; |
| |