version 1.48.2.3, 2006/03/17 21:40:48
|
version 1.49, 2006/01/30 16:16:48
|
|
|
| |
class CIMValueRep; | class CIMValueRep; |
class CIMObject; | class CIMObject; |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
class CIMInstance; |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
| |
/** | /** |
The CIMValue class represents a value of any of the CIM data types | The CIMValue class represents a value of any of the CIM data types |
|
|
CIMValue(const CIMObject& x); | CIMValue(const CIMObject& x); |
| |
/// Constructor. | /// Constructor. |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
CIMValue(const CIMInstance& x); |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
|
|
/// Constructor. |
|
CIMValue(const Array<Boolean>& x); | CIMValue(const Array<Boolean>& x); |
| |
/// Constructor. | /// Constructor. |
|
|
*/ | */ |
CIMValue(const Array<CIMObject>& x); | CIMValue(const Array<CIMObject>& x); |
| |
/// Constructor. |
|
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
CIMValue(const Array<CIMInstance>& x); |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
|
|
/** Constructor. | /** Constructor. |
Note: If the input type is CIMObject, it/they will be cloned before | Note: If the input type is CIMObject, it/they will be cloned before |
putting it into the value of the constructed CIMValue. This is because | putting it into the value of the constructed CIMValue. This is because |
|
|
/// | /// |
void set(const CIMObject& x); | void set(const CIMObject& x); |
/// | /// |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
void set(const CIMInstance& x); |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/// |
|
void set(const Array<Boolean>& x); | void set(const Array<Boolean>& x); |
/// | /// |
void set(const Array<Uint8>& x); | void set(const Array<Uint8>& x); |
|
|
void set(const Array<CIMObjectPath>& x); | void set(const Array<CIMObjectPath>& x); |
/// | /// |
void set(const Array<CIMObject>& x); | void set(const Array<CIMObject>& x); |
/// |
|
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
void set(const Array<CIMInstance>& x); |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
| |
/** Gets the value of a CIMValue. | /** Gets the value of a CIMValue. |
Note: Before using get, the caller should use getType () and isNull () | Note: Before using get, the caller should use getType () and isNull () |
|
|
/// | /// |
void get(CIMObject& x) const; | void get(CIMObject& x) const; |
/// | /// |
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
void get(CIMInstance& x) const; |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
/// |
|
void get(Array<Boolean>& x) const; | void get(Array<Boolean>& x) const; |
/// | /// |
void get(Array<Uint8>& x) const; | void get(Array<Uint8>& x) const; |
|
|
void get(Array<CIMObjectPath>& x) const; | void get(Array<CIMObjectPath>& x) const; |
/// | /// |
void get(Array<CIMObject>& x) const; | void get(Array<CIMObject>& x) const; |
/// |
|
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
#ifdef PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
void get(Array<CIMInstance>& x) const; |
|
#endif // PEGASUS_EMBEDDED_INSTANCE_SUPPORT |
|
#endif // PEGASUS_USE_EXPERIMENTAL_INTERFACES |
|
| |
/** Compares with another CIMValue object for equality. | /** Compares with another CIMValue object for equality. |
@param x - CIMValue to compare with. | @param x - CIMValue to compare with. |