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

 1 humberto 1.1.2.2 #include "CQLSelectStatement.h"
 2 humberto 1.1.2.4 #include "CQLSelectStatementRep.h"
 3 humberto 1.1.2.1 
 4                  PEGASUS_NAMESPACE_BEGIN
 5 humberto 1.1.2.2 
 6 humberto 1.1.2.4 CQLSelectStatement::CQLSelectStatement(String inQlang, String inQuery, QueryContext& inCtx)
 7 humberto 1.1.2.2 {
 8 humberto 1.1.2.4 	_rep = new CQLSelectStatementRep(inQlang,inQuery,inCtx);
 9                  }
10                  
11                  CQLSelectStatement::~CQLSelectStatement(){
12                  	if(_rep)
13                  		delete _rep;
14 humberto 1.1.2.2 }
15                  
16                  Boolean CQLSelectStatement::evaluate(CIMInstance const inCI)
17                  {
18 humberto 1.1.2.4    return _rep->evaluate(inCI);
19 humberto 1.1.2.2 }
20                  
21                  Array<CIMInstance> CQLSelectStatement::executeQuery(Array<CIMInstance> inCIMInstanceArray) throw(Exception)
22 humberto 1.1.2.1 {
23 humberto 1.1.2.4    return _rep->executeQuery(inCIMInstanceArray);
24 humberto 1.1.2.2 }
25                  
26                  CIMInstance CQLSelectStatement::applyProjection(CIMInstance inCI) throw(Exception)
27 humberto 1.1.2.1 {
28 humberto 1.1.2.4    return _rep->applyProjection(inCI);
29 humberto 1.1.2.2 }
30                  
31                  void CQLSelectStatement::validateClass(const CIMObjectPath& inClassName) throw(Exception)
32                  {
33 humberto 1.1.2.4 	_rep->validateClass(inClassName);
34 humberto 1.1.2.2 }
35                  
36                  void CQLSelectStatement::validateProperties() throw(Exception)
37                  {
38 humberto 1.1.2.4 	_rep->validateProperties();
39 humberto 1.1.2.2 }
40                  
41                  Array<CIMObjectPath> const CQLSelectStatement::getClassPathList()
42 humberto 1.1.2.1 {
43 humberto 1.1.2.4  	return _rep->getClassPathList();
44 humberto 1.1.2.2 }
45                  
46                  CIMPropertyList CQLSelectStatement::getPropertyList(const CIMObjectPath& inClassName)
47 humberto 1.1.2.1 {
48 humberto 1.1.2.4    return _rep->getPropertyList(inClassName);
49 humberto 1.1.2.2 }
50                  
51                  void CQLSelectStatement::appendClassPath(const CQLIdentifier& inIdentifier)
52                  {
53 humberto 1.1.2.4 	_rep->appendClassPath(inIdentifier);
54 humberto 1.1.2.2 }
55                  
56                  void CQLSelectStatement::setPredicate(CQLPredicate inPredicate)
57                  {
58 humberto 1.1.2.4 	_rep->setPredicate(inPredicate);
59 humberto 1.1.2.2 }
60                  
61                  void CQLSelectStatement::insertClassPathAlias(const CQLIdentifier& inIdentifier, String inAlias)
62                  {
63 humberto 1.1.2.4 	_rep->insertClassPathAlias(inIdentifier,inAlias);
64 humberto 1.1.2.2 }
65                  
66                  void CQLSelectStatement::appendSelectIdentifier(const CQLChainedIdentifier& x)
67                  {
68 humberto 1.1.2.4 	_rep->appendSelectIdentifier(x);
69 humberto 1.1.2.2 }
70                  
71                  Boolean CQLSelectStatement::appendWhereIdentifier(const CQLChainedIdentifier& x)
72                  {
73 humberto 1.1.2.4    return _rep->appendWhereIdentifier(x);
74 humberto 1.1.2.2 }
75                  
76 humberto 1.1.2.1 PEGASUS_NAMESPACE_END

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2