version 1.3, 2006/01/30 16:18:20
|
version 1.4, 2006/11/14 18:34:58
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// 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: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef Pegasus_RepositoryQueryContext_h | #ifndef Pegasus_RepositoryQueryContext_h |
|
|
{ | { |
public: | public: |
| |
RepositoryQueryContext(const CIMNamespaceName& inNS, CIMRepository* inCIMRep); |
RepositoryQueryContext( |
|
const CIMNamespaceName& inNS, |
|
CIMRepository* inCIMRep); |
| |
RepositoryQueryContext(const RepositoryQueryContext& ctx); | RepositoryQueryContext(const RepositoryQueryContext& ctx); |
| |
|
|
// Returns true if the derived class is a subclass of the base class. | // Returns true if the derived class is a subclass of the base class. |
// Note: this will return false if the classes are the same. | // Note: this will return false if the classes are the same. |
// Note: the default namespace of the query is used. | // Note: the default namespace of the query is used. |
Boolean isSubClass(const CIMName& baseClass, |
Boolean isSubClass( |
|
const CIMName& baseClass, |
const CIMName& derivedClass)const; | const CIMName& derivedClass)const; |
| |
// Returns the relationship between the anchor class and the related | // Returns the relationship between the anchor class and the related |
// class in the class schema of the query's default name space. | // class in the class schema of the query's default name space. |
ClassRelation getClassRelation(const CIMName& anchorClass, |
ClassRelation getClassRelation( |
|
const CIMName& anchorClass, |
const CIMName& relatedClass)const; | const CIMName& relatedClass)const; |
| |
private: | private: |