version 1.30, 2002/07/26 20:01:19
|
version 1.31, 2002/07/30 16:14:53
|
|
|
#define Pegasus_CIMClassRep_h | #define Pegasus_CIMClassRep_h |
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
|
#include <Pegasus/Common/CIMName.h> |
#include <Pegasus/Common/CIMObjectRep.h> | #include <Pegasus/Common/CIMObjectRep.h> |
#include <Pegasus/Common/CIMMethod.h> | #include <Pegasus/Common/CIMMethod.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
|
|
public: | public: |
| |
CIMClassRep( | CIMClassRep( |
const CIMObjectPath& reference, |
const CIMName& className, |
const String& superClassName); |
const CIMName& superClassName); |
| |
virtual ~CIMClassRep(); | virtual ~CIMClassRep(); |
| |
|
|
| |
Boolean isAbstract() const; | Boolean isAbstract() const; |
| |
Boolean isTrueQualifier(const String& name) const; |
Boolean isTrueQualifier(const CIMName& name) const; |
| |
const String& getSuperClassName() const { return _superClassName; } |
const CIMName& getSuperClassName() const { return _superClassName; } |
| |
void setSuperClassName(const String& superClassName); |
void setSuperClassName(const CIMName& superClassName); |
| |
virtual void addProperty(const CIMProperty& x); | virtual void addProperty(const CIMProperty& x); |
| |
void addMethod(const CIMMethod& x); | void addMethod(const CIMMethod& x); |
| |
Uint32 findMethod(const String& name) const; |
Uint32 findMethod(const CIMName& name) const; |
| |
CIMMethod getMethod(Uint32 pos); | CIMMethod getMethod(Uint32 pos); |
| |
|
|
| |
void resolve( | void resolve( |
DeclContext* context, | DeclContext* context, |
const String& nameSpace); |
const CIMNamespaceName& nameSpace); |
| |
virtual Boolean identical(const CIMObjectRep* x) const; | virtual Boolean identical(const CIMObjectRep* x) const; |
| |
|
|
return new CIMClassRep(*this); | return new CIMClassRep(*this); |
} | } |
| |
void getKeyNames(Array<String>& keyNames) const; |
void getKeyNames(Array<CIMName>& keyNames) const; |
| |
Boolean hasKeys() const; | Boolean hasKeys() const; |
| |
|
|
return *this; | return *this; |
} | } |
| |
String _superClassName; |
CIMName _superClassName; |
Array<CIMMethod> _methods; | Array<CIMMethod> _methods; |
| |
friend class CIMClass; | friend class CIMClass; |