version 1.1.2.3, 2009/08/04 13:28:47
|
version 1.1.2.4, 2009/08/05 14:08:34
|
|
|
* CIMInstance data into the new SCMOInstance. | * CIMInstance data into the new SCMOInstance. |
* @param baseClass The SCMOClass of this instance. | * @param baseClass The SCMOClass of this instance. |
* @param cimInstance A CIMInstace of the same class. | * @param cimInstance A CIMInstace of the same class. |
|
* @exception Exception if class name and name space does not match. |
|
* @exception |
|
* Exception if CIMInstance has more key bindings then the SCMOClass. |
|
* @exception |
|
* Exception if a key binding is not found as a key property |
|
* of the SCMOClass. |
|
* @exception Exception if a key binding does not match |
|
* the class definition. |
|
* @exception Exception if a property is not part of class definition. |
|
* @exception Exception if a property does not match the class definition. |
*/ | */ |
SCMOInstance(SCMOClass baseClass, const CIMInstance& cimInstance); | SCMOInstance(SCMOClass baseClass, const CIMInstance& cimInstance); |
| |
/** | /** |
|
* Builds a SCMOInstance from the given SCMOClass and copies all |
|
* CIMObjectPath data into the new SCMOInstance. |
|
* @param baseClass The SCMOClass of this instance. |
|
* @param cimInstance A CIMObjectpath of the same class. |
|
* @exception Exception if class name and name space does not match. |
|
* @exception |
|
* Exception if CIMInstance has more key bindings then the SCMOClass. |
|
* @exception |
|
* Exception if a key binding is not found as a key property |
|
* of the SCMOClass. |
|
* @exception Exception if a key binding does not match |
|
* the class definition. |
|
*/ |
|
SCMOInstance(SCMOClass baseClass, const CIMObjectPath& cimObj); |
|
|
|
/** |
* Converts the SCMOInstance into a CIMInstance. | * Converts the SCMOInstance into a CIMInstance. |
* It is a deep copy of the SCMOInstance into the CIMInstance. | * It is a deep copy of the SCMOInstance into the CIMInstance. |
* @param cimInstance An empty CIMInstance. | * @param cimInstance An empty CIMInstance. |
|
|
Boolean isArray, | Boolean isArray, |
Uint32 size); | Uint32 size); |
| |
|
void _setCIMValueAtNodeIndex(Uint32 node, CIMValueRep* valRep); |
|
|
|
void _setCIMObjectPath(const CIMObjectPath& cimObj); |
|
|
void* _getSCMBUnion( | void* _getSCMBUnion( |
CIMType type, | CIMType type, |
Boolean isArray, | Boolean isArray, |
|
|
Uint32 size, | Uint32 size, |
Uint64 start); | Uint64 start); |
| |
|
static void _setUnionValue( |
|
Uint64 start, |
|
SCMBMgmt_Header** pmem, |
|
CIMType type, |
|
Union& u); |
|
|
|
static void _setArrayValue( |
|
Uint64 start, |
|
SCMBMgmt_Header** pmem, |
|
CIMType type, |
|
Uint32& n, |
|
Union& u); |
|
|
SCMO_RC _getKeyBindingAtNodeIndex( | SCMO_RC _getKeyBindingAtNodeIndex( |
Uint32 pos, | Uint32 pos, |
const char** pname, | const char** pname, |