version 1.1.2.1, 2009/08/03 11:10:08
|
version 1.1.2.6, 2009/09/18 09:11:11
|
|
|
/** | /** |
* Constructs a SCMOClass out of a CIMClass. | * Constructs a SCMOClass out of a CIMClass. |
* @param theCIMClass The source the SCMOClass is constucted off. | * @param theCIMClass The source the SCMOClass is constucted off. |
|
* @param nameSpaceName The namespace for the class, optional. |
* @return | * @return |
*/ | */ |
SCMOClass(CIMClass& theCIMClass ); |
SCMOClass(CIMClass& theCIMClass, const char* nameSpaceName=NULL ); |
| |
/** | /** |
* Copy constructor for the SCMO class, used to implement refcounting. | * Copy constructor for the SCMO class, used to implement refcounting. |
|
|
*/ | */ |
Boolean isUninitialized( ) const {return (cls.base == NULL); }; | Boolean isUninitialized( ) const {return (cls.base == NULL); }; |
| |
|
static StrLit qualifierNameStrLit(Uint32 num) |
|
{ |
|
return _qualifierNameStrLit[num]; |
|
} |
|
|
private: | private: |
| |
void Ref() | void Ref() |
|
|
Boolean _isPropertyKey(Uint32 i); | Boolean _isPropertyKey(Uint32 i); |
| |
void _setValue(Uint64 start, const CIMValue& theCIMValue); | void _setValue(Uint64 start, const CIMValue& theCIMValue); |
void _setUnionValue(Uint64 start, CIMType type, Union& u); |
|
void _setArrayValue(Uint64 start, CIMType type, Union& u); |
|
QualifierNameEnum _getSCMOQualifierNameEnum(const CIMName& theCIMname); | QualifierNameEnum _getSCMOQualifierNameEnum(const CIMName& theCIMname); |
Boolean _isSamePropOrigin(Uint32 node, const char* origin) const; | Boolean _isSamePropOrigin(Uint32 node, const char* origin) const; |
| |
|
const char* _getPropertyNameAtNode(Uint32 propNode) const; |
|
|
|
void _setUnionValue(SCMBUnion& scmoU,CIMType type,Union& cimU); |
|
|
inline SCMO_RC _isNodeSameType( | inline SCMO_RC _isNodeSameType( |
Uint32 node, | Uint32 node, |
CIMType type, | CIMType type, |
|
|
char *base; | char *base; |
}cls; | }cls; |
| |
|
static const StrLit _qualifierNameStrLit[72]; |
|
|
friend class SCMOInstance; | friend class SCMOInstance; |
friend class SCMODump; | friend class SCMODump; |
|
friend class SCMOXmlWriter; |
}; | }; |
| |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif | #endif |