#include <CmpiData.h>
Collaboration diagram for CmpiData:
Public Member Functions | |
CmpiData (CMPIData &data) | |
Constructor - Empty constructor. | |
CmpiData () | |
Constructor - Empty constructor. | |
CmpiData (CmpiString &d) | |
Constructor - String as input. | |
CmpiData (const char *d) | |
Constructor - char* as input. | |
CmpiData (CMPISint8 d) | |
Constructor - singed 8 bit as input. | |
CmpiData (CMPISint16 d) | |
Constructor - singed 16 bit as input. | |
CmpiData (CMPISint32 d) | |
Constructor - singed 32 bit as input. | |
CmpiData (int d) | |
Constructor - singed 32 bit as input. | |
CmpiData (CMPISint64 d) | |
Constructor - singed 64 bit as input. | |
CmpiData (CMPIBoolean d) | |
Constructor - unsinged 8 bit as input. | |
CmpiData (CMPIUint16 d) | |
Constructor - unsinged 16 bit as input. | |
CmpiData (CMPIUint32 d) | |
Constructor - unsinged 32 bit as input. | |
CmpiData (unsigned int d) | |
Constructor - unsinged 32 bit as input. | |
CmpiData (CMPIUint64 d) | |
Constructor - unsinged 64 bit as input. | |
CmpiData (CMPIInstance *d) | |
Constructor - CmpiInstance as input. | |
CmpiData (CMPIObjectPath *d) | |
Constructor - CmpiObjectPath as input. | |
CmpiData (CMPIArray *d) | |
Constructor - CmpiArray as input. | |
void | operator>> (CmpiString &v) const |
Extracting String. | |
void | operator>> (CMPISint8 &v) |
Extracting signed 8 bit. | |
void | operator>> (CMPISint16 &v) |
Extracting signed 16 bit. | |
void | operator>> (CMPISint32 &v) |
Extracting signed 32 bit. | |
void | operator>> (int &v) |
Extracting signed 32 bit. | |
void | operator>> (CMPISint64 &v) |
Extracting signed 64 bit. | |
void | operator>> (CMPIUint8 &v) |
Extracting unsigned 8 bit. | |
void | operator>> (CMPIUint16 &v) |
Extracting unsigned 16 bit. | |
void | operator>> (CMPIUint32 &v) |
Extracting unsigned 32 bit. | |
void | operator>> (unsigned int &v) |
Extracting unsigned 32 bit. | |
void | operator>> (CMPIUint64 &v) |
Extracting unsigned 64 bit. | |
void | operator>> (CmpiArray &v) |
Extracting Array. | |
void | operator>> (CmpiInstance &v) |
Extracting Instance. | |
void | operator>> (CmpiObjectPath &v) |
Extracting ObjectPath. | |
bool | operator== (const CmpiData &d) |
bool | isNull () |
Protected Attributes | |
CMPIData | data |
Friends | |
class | CmpiInstance |
class | CmpiObjectPath |
class | CmpiResult |
class | CmpiArgs |
class | CmpiContext |
class | CmpiPropertyMI |
Data extraction uses the >> operator. Extraction operations can be appended to a property type retrieval statement like this:
CmpiString name;
cop.getKey("DeviceID")>>name;
Type mismatches will be signalled by exceptions.
Definition at line 44 of file CmpiData.h.
|
Constructor - Empty constructor.
Definition at line 58 of file CmpiData.h. References data. |
|
Constructor - Empty constructor.
Definition at line 67 of file CmpiData.h. |
|
Constructor - String as input.
Definition at line 71 of file CmpiData.h. References CmpiString::charPtr(), _CMPIValue::chars, CMPI_chars, data, _CMPIData::type, and _CMPIData::value. |
|
Constructor - char* as input.
Definition at line 76 of file CmpiData.h. References _CMPIValue::chars, CMPI_chars, data, _CMPIData::type, and _CMPIData::value. |
|
Constructor - singed 8 bit as input.
Definition at line 81 of file CmpiData.h. References CMPI_sint8, data, _CMPIValue::sint8, _CMPIData::type, and _CMPIData::value. |
|
Constructor - singed 16 bit as input.
Definition at line 85 of file CmpiData.h. References CMPI_sint16, data, _CMPIValue::sint16, _CMPIData::type, and _CMPIData::value. |
|
Constructor - singed 32 bit as input.
Definition at line 89 of file CmpiData.h. References CMPI_sint32, data, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. |
|
Constructor - singed 32 bit as input.
Definition at line 93 of file CmpiData.h. References CMPI_sint32, data, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. |
|
Constructor - singed 64 bit as input.
Definition at line 97 of file CmpiData.h. References CMPI_sint64, data, _CMPIValue::sint64, _CMPIData::type, and _CMPIData::value. |
|
Constructor - unsinged 8 bit as input.
Definition at line 102 of file CmpiData.h. References _CMPIValue::boolean, CMPI_boolean, data, _CMPIData::type, and _CMPIData::value. |
|
Constructor - unsinged 16 bit as input.
Definition at line 106 of file CmpiData.h. References CMPI_uint16, data, _CMPIValue::sint16, _CMPIData::type, and _CMPIData::value. |
|
Constructor - unsinged 32 bit as input.
Definition at line 110 of file CmpiData.h. References CMPI_uint32, data, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. |
|
Constructor - unsinged 32 bit as input.
Definition at line 114 of file CmpiData.h. References CMPI_uint32, data, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. |
|
Constructor - unsinged 64 bit as input.
Definition at line 118 of file CmpiData.h. References CMPI_uint64, data, _CMPIValue::sint64, _CMPIData::type, and _CMPIData::value. |
|
Constructor - CmpiInstance as input.
Definition at line 123 of file CmpiData.h. References CMPI_instance, data, _CMPIValue::inst, _CMPIData::type, and _CMPIData::value. |
|
Constructor - CmpiObjectPath as input.
Definition at line 128 of file CmpiData.h. References CMPI_ref, data, _CMPIValue::ref, _CMPIData::type, and _CMPIData::value. |
|
Constructor - CmpiArray as input.
Definition at line 133 of file CmpiData.h. References _CMPIValue::array, CMPI_ARRAY, data, _CMPIData::type, and _CMPIData::value. |
|
Definition at line 221 of file CmpiData.h. References CMPI_nullValue, data, and _CMPIData::state. |
|
Definition at line 1273 of file CmpiImpl.cpp. References _CMPIValue::chars, CMPI_chars, CMPI_RC_ERR_NOT_SUPPORTED, CMPI_sint16, CMPI_sint32, CMPI_sint64, CMPI_sint8, CMPI_string, CMPI_uint16, CMPI_uint32, CMPI_uint64, CMPI_uint8, data, _CMPIValue::sint16, _CMPIValue::sint32, _CMPIValue::sint64, _CMPIValue::sint8, _CMPIValue::string, _CMPIData::type, _CMPIValue::uint16, _CMPIValue::uint32, _CMPIValue::uint64, _CMPIValue::uint8, and _CMPIData::value. |
|
Extracting ObjectPath.
Definition at line 709 of file CmpiImpl.cpp. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_ref, CmpiObjectPath, data, _CMPIValue::ref, _CMPIData::type, and _CMPIData::value. |
|
Extracting Instance.
Definition at line 703 of file CmpiImpl.cpp. References CMPI_instance, CMPI_RC_ERR_TYPE_MISMATCH, CmpiInstance, data, _CMPIValue::inst, _CMPIData::type, and _CMPIData::value. |
|
Extracting Array.
|
|
Extracting unsigned 64 bit.
Definition at line 201 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_uint64, data, _CMPIData::type, _CMPIValue::uint64, and _CMPIData::value. |
|
Extracting unsigned 32 bit.
Definition at line 195 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_uint32, data, _CMPIData::type, _CMPIValue::uint32, and _CMPIData::value. |
|
Extracting unsigned 32 bit.
Definition at line 189 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_uint32, data, _CMPIData::type, _CMPIValue::uint32, and _CMPIData::value. |
|
Extracting unsigned 16 bit.
Definition at line 183 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_uint16, data, _CMPIData::type, _CMPIValue::uint16, and _CMPIData::value. |
|
Extracting unsigned 8 bit.
Definition at line 177 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_uint8, data, _CMPIData::type, _CMPIValue::uint8, and _CMPIData::value. |
|
Extracting signed 64 bit.
Definition at line 170 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_sint64, data, _CMPIValue::sint64, _CMPIData::type, and _CMPIData::value. |
|
Extracting signed 32 bit.
Definition at line 164 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_sint32, data, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. |
|
Extracting signed 32 bit.
Definition at line 158 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_sint32, data, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. |
|
Extracting signed 16 bit.
Definition at line 152 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_sint16, data, _CMPIValue::sint16, _CMPIData::type, and _CMPIData::value. |
|
Extracting signed 8 bit.
Definition at line 146 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_sint8, data, _CMPIValue::sint8, _CMPIData::type, and _CMPIData::value. |
|
Extracting String.
Definition at line 139 of file CmpiData.h. References CMPI_RC_ERR_TYPE_MISMATCH, CMPI_string, data, _CMPIValue::string, _CMPIData::type, and _CMPIData::value. |
|
Definition at line 48 of file CmpiData.h. |
|
Definition at line 49 of file CmpiData.h. |
|
Definition at line 45 of file CmpiData.h. Referenced by operator>>(). |
|
Definition at line 46 of file CmpiData.h. Referenced by operator>>(). |
|
Definition at line 50 of file CmpiData.h. |
|
Definition at line 47 of file CmpiData.h. |
|
Definition at line 53 of file CmpiData.h. Referenced by CmpiData(), CmpiArgs::getArg(), CmpiContext::getEntry(), CmpiObjectPath::getKey(), CmpiInstance::getProperty(), isNull(), operator==(), operator>>(), CmpiArgs::setArg(), CmpiObjectPath::setKey(), and CmpiInstance::setProperty(). |