version 1.5, 2002/03/30 19:09:55
|
version 1.10, 2002/05/07 00:41:34
|
|
|
| |
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/String.h> | #include <Pegasus/Common/String.h> |
|
#include <Pegasus/Common/Sharable.h> |
#include <Pegasus/Common/CIMProperty.h> | #include <Pegasus/Common/CIMProperty.h> |
#include <Pegasus/Common/CIMQualifier.h> | #include <Pegasus/Common/CIMQualifier.h> |
|
#include <Pegasus/Common/CIMQualifierList.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
return _reference.getClassName(); | return _reference.getClassName(); |
} | } |
| |
|
const Boolean equalClassName(const String& classname) const |
|
{ |
|
return (String::equalNoCase(classname, _reference.getClassName())); |
|
} |
|
|
const CIMReference& getPath() const | const CIMReference& getPath() const |
{ | { |
return _reference; | return _reference; |
|
|
| |
virtual void addProperty(const CIMProperty& x); | virtual void addProperty(const CIMProperty& x); |
| |
Uint32 findProperty(const String& name); |
Uint32 findProperty(const String& name) const; |
|
|
Uint32 findProperty(const String& name) const |
|
{ |
|
return ((CIMObjectRep*)this)->findProperty(name); |
|
} |
|
|
|
Boolean existsProperty(const String& name); |
|
| |
Boolean existsProperty(const String& name) const |
Boolean existsProperty(const String& name) const; |
{ |
|
return ((CIMObjectRep*)this)->existsProperty(name); |
|
} |
|
| |
CIMProperty getProperty(Uint32 pos); | CIMProperty getProperty(Uint32 pos); |
| |
|
|
| |
CIMObjectRep(const CIMObjectRep& x); | CIMObjectRep(const CIMObjectRep& x); |
| |
CIMObjectRep& operator=(const CIMObjectRep& x) |
|
{ |
|
// This method is never called. |
|
return *this; |
|
} |
|
|
|
CIMReference _reference; | CIMReference _reference; |
CIMQualifierList _qualifiers; | CIMQualifierList _qualifiers; |
Array<CIMProperty> _properties; | Array<CIMProperty> _properties; |
Boolean _resolved; | Boolean _resolved; |
| |
|
private: |
|
|
|
// This method is declared and made private so that the compiler does |
|
// not implicitly define a default copy constructor. |
|
CIMObjectRep& operator=(const CIMObjectRep& x) |
|
{ |
|
PEGASUS_ASSERT(0); |
|
return *this; |
|
} |
|
|
friend class CIMObject; | friend class CIMObject; |
}; | }; |
| |