version 1.38, 2004/06/03 08:45:20
|
version 1.38.4.1, 2004/11/12 17:48:28
|
|
|
#include <Pegasus/Common/Config.h> | #include <Pegasus/Common/Config.h> |
#include <Pegasus/Common/CIMType.h> | #include <Pegasus/Common/CIMType.h> |
#include <Pegasus/Common/CIMObjectPath.h> | #include <Pegasus/Common/CIMObjectPath.h> |
|
#include <Pegasus/Common/CIMObject.h> |
#include <Pegasus/Common/CIMDateTime.h> | #include <Pegasus/Common/CIMDateTime.h> |
#include <Pegasus/Common/Exception.h> | #include <Pegasus/Common/Exception.h> |
#include <Pegasus/Common/Array.h> | #include <Pegasus/Common/Array.h> |
|
|
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class CIMValueRep; | class CIMValueRep; |
|
class CIMObject; |
| |
/** | /** |
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 CIMObjectPath& x); | CIMValue(const CIMObjectPath& x); |
| |
/// Constructor. | /// Constructor. |
|
CIMValue(const CIMObject& x); |
|
|
|
/// Constructor. |
CIMValue(const Array<Boolean>& x); | CIMValue(const Array<Boolean>& x); |
| |
/// Constructor. | /// Constructor. |
|
|
CIMValue(const Array<CIMObjectPath>& x); | CIMValue(const Array<CIMObjectPath>& x); |
| |
/// Constructor. | /// Constructor. |
|
CIMValue(const Array<CIMObject>& x); |
|
|
|
/// Constructor. |
CIMValue(const CIMValue& x); | CIMValue(const CIMValue& x); |
| |
/// Destructor. | /// Destructor. |
|
|
/// | /// |
void set(const CIMObjectPath& x); | void set(const CIMObjectPath& x); |
/// | /// |
|
void set(const CIMObject& x); |
|
/// |
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<CIMDateTime>& x); | void set(const Array<CIMDateTime>& x); |
/// | /// |
void set(const Array<CIMObjectPath>& x); | void set(const Array<CIMObjectPath>& x); |
|
/// |
|
void set(const Array<CIMObject>& x); |
| |
/** 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(CIMObjectPath& x) const; | void get(CIMObjectPath& x) const; |
/// | /// |
|
void get(CIMObject& x) const; |
|
/// |
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<CIMDateTime>& x) const; | void get(Array<CIMDateTime>& x) const; |
/// | /// |
void get(Array<CIMObjectPath>& x) const; | void get(Array<CIMObjectPath>& x) const; |
|
/// |
|
void get(Array<CIMObject>& x) const; |
| |
/** 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. |