cmpi
|
#include <cmpi/CmpiData.h>
Public Member Functions | |
CmpiData () | |
CmpiData (CMPISint8 d) | |
CmpiData (CMPISint16 d) | |
CmpiData (CMPISint32 d) | |
CmpiData (CMPISint64 d) | |
CmpiData (CMPIUint8 d) | |
CmpiData (CMPIUint16 d) | |
CmpiData (CMPIUint32 d) | |
CmpiData (CMPIUint64 d) | |
CmpiData (CMPIReal32 d) | |
CmpiData (CMPIReal64 d) | |
CmpiData (const CmpiString &d) | |
CmpiData (const char *d) | |
CmpiData (const CmpiObjectPath &d) | |
CmpiData (const CmpiDateTime &d) | |
CmpiData (const CmpiArray &d) | |
operator CmpiString () const | |
operator const char * () const | |
operator CmpiDateTime () const | |
operator CMPISint8 () const | |
operator CMPISint16 () const | |
operator CMPISint32 () const | |
operator CMPISint64 () const | |
operator unsigned char () const | |
operator unsigned short () const | |
operator CMPIUint32 () const | |
operator CMPIUint64 () const | |
operator CMPIReal32 () const | |
operator CMPIReal64 () const | |
operator CmpiArray () const | |
operator CmpiInstance () const | |
operator CmpiObjectPath () const | |
int | isNullValue () const |
int | isNotFound () const |
CMPIType | getType () const |
Protected Member Functions | |
CmpiData (CMPIData &data) | |
Protected Attributes | |
CMPIData | _data |
Friends | |
class | CmpiInstance |
class | CmpiObjectPath |
class | CmpiResult |
class | CmpiArgs |
class | CmpiArrayIdx |
class | CmpiContext |
class | CmpiPropertyMI |
class | CmpiEnumeration |
This class wraps a CMPIData value item. Data extraction uses type conversion operators. Extraction operations can be appended to a property type retrieval statement like this:
CmpiString name = cop.getKey("DeviceID");
Type mismatches will be signalled by exceptions.
CmpiData::CmpiData | ( | ) |
Constructor - Empty constructor.
References _data, CMPI_null, and CMPI_nullValue.
CmpiData::CmpiData | ( | CMPISint8 | d | ) |
Constructor - singed 8 bit as input.
References _data, CMPI_goodValue, and CMPI_sint8.
CmpiData::CmpiData | ( | CMPISint16 | d | ) |
Constructor - singed 16 bit as input.
References _data, CMPI_goodValue, and CMPI_sint16.
CmpiData::CmpiData | ( | CMPISint32 | d | ) |
Constructor - singed 32 bit as input.
References _data, CMPI_goodValue, and CMPI_sint32.
CmpiData::CmpiData | ( | CMPISint64 | d | ) |
Constructor - singed 64 bit as input.
References _data, CMPI_goodValue, and CMPI_sint64.
CmpiData::CmpiData | ( | CMPIUint8 | d | ) |
Constructor - unsinged 8 bit as input.
References _data, CMPI_goodValue, and CMPI_uint8.
CmpiData::CmpiData | ( | CMPIUint16 | d | ) |
Constructor - unsinged 16 bit as input.
References _data, CMPI_goodValue, and CMPI_uint16.
CmpiData::CmpiData | ( | CMPIUint32 | d | ) |
Constructor - unsinged 32 bit as input.
References _data, CMPI_goodValue, and CMPI_uint32.
CmpiData::CmpiData | ( | CMPIUint64 | d | ) |
Constructor - unsinged 64 bit as input.
References _data, CMPI_goodValue, and CMPI_uint64.
CmpiData::CmpiData | ( | CMPIReal32 | d | ) |
Constructor - 32 bit float as input.
References _data, CMPI_goodValue, and CMPI_real32.
CmpiData::CmpiData | ( | CMPIReal64 | d | ) |
Constructor - 64 bit float as input.
References _data, CMPI_goodValue, and CMPI_real64.
CmpiData::CmpiData | ( | const CmpiString & | d | ) |
Constructor - String as input.
References _data, CMPI_goodValue, CMPI_string, and CmpiString::getEnc().
CmpiData::CmpiData | ( | const char * | d | ) |
Constructor - char* as input.
References _data, CMPI_chars, and CMPI_goodValue.
CmpiData::CmpiData | ( | const CmpiObjectPath & | d | ) |
Constructor - ObjectPath as input.
References _data, CMPI_goodValue, CMPI_nullValue, CMPI_ref, CmpiObjectPath, and CmpiObjectPath::getEnc().
CmpiData::CmpiData | ( | const CmpiDateTime & | d | ) |
Constructor - DateTime as input.
References _data, CMPI_dateTime, CMPI_goodValue, and CmpiDateTime::getEnc().
CmpiData::CmpiData | ( | const CmpiArray & | d | ) |
Constructor - Array as input.
References _data, CMPI_ARRAY, CMPI_goodValue, _CMPIArray::ft, and CmpiArray::getEnc().
int CmpiData::isNotFound | ( | ) | const |
test for not found value
References _data, and CMPI_notFound.
int CmpiData::isNullValue | ( | ) | const |
test for null value
References _data, and CMPI_nullValue.
CmpiData::operator CmpiArray | ( | ) | const |
Extracting Array.
References _data, CMPI_ARRAY, and CMPI_RC_ERR_TYPE_MISMATCH.
CmpiData::operator CmpiDateTime | ( | ) | const |
Extracting CmpiDataTime.
References _data, CMPI_dateTime, and CMPI_RC_ERR_TYPE_MISMATCH.
CmpiData::operator CmpiInstance | ( | ) | const |
Extracting Instance.
References _data, CMPI_instance, CMPI_RC_ERR_TYPE_MISMATCH, and CmpiInstance.
CmpiData::operator CmpiObjectPath | ( | ) | const |
Extracting ObjectPath.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, CMPI_ref, and CmpiObjectPath.
CmpiData::operator CMPIReal32 | ( | ) | const |
Extracting float 32 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_real32.
CmpiData::operator CMPIReal64 | ( | ) | const |
Extracting float 64 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_real64.
CmpiData::operator CMPISint16 | ( | ) | const |
Extracting signed 16 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_sint16.
CmpiData::operator CMPISint32 | ( | ) | const |
Extracting signed 32 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_sint32.
CmpiData::operator CMPISint64 | ( | ) | const |
Extracting signed 64 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_sint64.
CmpiData::operator CMPISint8 | ( | ) | const |
Extracting signed 8 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_sint8.
CmpiData::operator CmpiString | ( | ) | const |
Extracting String.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_string.
CmpiData::operator CMPIUint32 | ( | ) | const |
Extracting unsigned 32 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_uint32.
CmpiData::operator CMPIUint64 | ( | ) | const |
Extracting unsigned 64 bit.
References _data, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_uint64.
CmpiData::operator const char * | ( | ) | const |
Extracting const char *.
References _data, CmpiString::charPtr(), CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_string.
CmpiData::operator unsigned char | ( | ) | const |
Extracting unsigned 8 bit or boolean.
References _data, CMPI_boolean, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_uint8.
CmpiData::operator unsigned short | ( | ) | const |
Extracting unsigned 16 bit or char16.
References _data, CMPI_char16, CMPI_RC_ERR_TYPE_MISMATCH, and CMPI_uint16.
|
friend |
References CmpiArrayIdx.
Referenced by CmpiArrayIdx.
|
friend |
References CmpiContext.
Referenced by CmpiContext.
|
friend |
References CmpiEnumeration.
Referenced by CmpiEnumeration.
|
friend |
References CmpiInstance.
Referenced by CmpiInstance, and operator CmpiInstance().
|
friend |
References CmpiObjectPath.
Referenced by CmpiData(), CmpiObjectPath, and operator CmpiObjectPath().
|
friend |
References CmpiPropertyMI.
Referenced by CmpiPropertyMI.
|
friend |
References CmpiResult.
Referenced by CmpiResult.
|
protected |
CmpiData actually is a CMPIData struct.
Referenced by CmpiBooleanData::CmpiBooleanData(), CmpiCharData::CmpiCharData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiData(), CmpiArgs::getArg(), CmpiArgs::getArg(), CmpiContext::getEntry(), CmpiObjectPath::getKey(), CmpiObjectPath::getKey(), CmpiInstance::getProperty(), CmpiInstance::getProperty(), getType(), isNotFound(), isNullValue(), operator CmpiArray(), operator CmpiDateTime(), operator CmpiInstance(), operator CmpiObjectPath(), operator CMPIReal32(), operator CMPIReal64(), operator CMPISint16(), operator CMPISint32(), operator CMPISint64(), operator CMPISint8(), operator CmpiString(), operator CMPIUint32(), operator CMPIUint64(), operator const char *(), operator unsigned char(), operator unsigned short(), CmpiArrayIdx::operator=(), CmpiResult::returnData(), CmpiArgs::setArg(), CmpiObjectPath::setKey(), and CmpiInstance::setProperty().