version 1.9.10.2, 2006/02/10 16:09:38
|
version 1.11, 2006/05/02 20:26:59
|
|
|
#ifndef Pegasus_ObjectNormalizer_h | #ifndef Pegasus_ObjectNormalizer_h |
#define Pegasus_ObjectNormalizer_h | #define Pegasus_ObjectNormalizer_h |
| |
|
#include <Pegasus/Common/AutoPtr.h> |
#include <Pegasus/Common/CIMClass.h> | #include <Pegasus/Common/CIMClass.h> |
#include <Pegasus/Common/CIMInstance.h> | #include <Pegasus/Common/CIMInstance.h> |
#include <Pegasus/Common/DeclContext.h> |
|
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
| |
|
|
class PEGASUS_COMMON_LINKAGE NormalizerContext | class PEGASUS_COMMON_LINKAGE NormalizerContext |
{ | { |
public: | public: |
virtual ~NormalizerContext(); |
virtual ~NormalizerContext() {}; |
| |
virtual CIMClass getClass( | virtual CIMClass getClass( |
const CIMNamespaceName& nameSpace, | const CIMNamespaceName& nameSpace, |
|
|
virtual Array<CIMName> enumerateClassNames( | virtual Array<CIMName> enumerateClassNames( |
const CIMNamespaceName& nameSpace, const CIMName& className, | const CIMNamespaceName& nameSpace, const CIMName& className, |
bool deepInheritance) = 0; | bool deepInheritance) = 0; |
|
|
|
virtual AutoPtr<NormalizerContext> clone() = 0; |
}; | }; |
| |
// TODO: add documentation | // TODO: add documentation |
|
|
Boolean includeQualifiers, | Boolean includeQualifiers, |
Boolean includeClassOrigin, | Boolean includeClassOrigin, |
const CIMNamespaceName& nameSpace, | const CIMNamespaceName& nameSpace, |
NormalizerContext * context=0); |
AutoPtr<NormalizerContext> & context); |
| |
CIMObjectPath processClassObjectPath(const CIMObjectPath & cimObjectPath) const; | CIMObjectPath processClassObjectPath(const CIMObjectPath & cimObjectPath) const; |
CIMObjectPath processInstanceObjectPath(const CIMObjectPath & cimObjectPath) const; | CIMObjectPath processInstanceObjectPath(const CIMObjectPath & cimObjectPath) const; |
|
|
CIMInstance processInstance(const CIMInstance & cimInstance) const; | CIMInstance processInstance(const CIMInstance & cimInstance) const; |
//CIMIndication processIndication(const CIMIndication & cimIndication); | //CIMIndication processIndication(const CIMIndication & cimIndication); |
| |
|
static CIMProperty _processProperty( |
|
CIMConstProperty & referenceProperty, |
|
CIMConstProperty & cimProperty, |
|
Boolean includeQualifiers, |
|
Boolean includeClassOrigin, |
|
NormalizerContext * context, |
|
const CIMNamespaceName & nameSpace); |
|
|
private: | private: |
CIMClass _cimClass; | CIMClass _cimClass; |
| |
Boolean _includeQualifiers; | Boolean _includeQualifiers; |
Boolean _includeClassOrigin; | Boolean _includeClassOrigin; |
NormalizerContext * _context; |
AutoPtr<NormalizerContext> _context; |
CIMNamespaceName _nameSpace; | CIMNamespaceName _nameSpace; |
}; | }; |
| |