#include <iostream>
#include "cmpisrv.h"
#include "OW_Char16.hpp"
#include "OW_CIMValue.hpp"
#include "OW_CIMDateTime.hpp"
Include dependency graph for cmpiValue.cpp:
Go to the source code of this file.
Defines | |
#define | CopyToArray(pt, ct) |
#define | CopyToStringArray(pt, ct) |
#define | CopyToEncArray(pt, ct) |
#define | CopyFromArray(pt, ct) |
#define | CopyFromStringArray(pt, ct) |
#define | CopyFromEncArray(pt, ct, cn) |
Functions | |
OpenWBEM::CIMValue | value2CIMValue (const CMPIValue *data, const CMPIType type, CMPIrc *rc) |
CMPIrc | value2CMPIData (const OpenWBEM::CIMValue &v, CMPIType t, CMPIData *data) |
CMPIType | type2CMPIType (OpenWBEM::CIMDataType pt, int array) |
CMPIrc | key2CMPIData (const OpenWBEM::String &v, OpenWBEM::CIMDataType t, CMPIData *data) |
|
Value: Definition at line 220 of file cmpiValue.cpp. Referenced by value2CMPIData(). |
|
Value: { OpenWBEM::Array<pt> ar; \ v.get(ar); \ for (int i=0; i<aSize; i++) { \ aData[i].value.cn=(ct*)new CMPI_Object(new pt(ar[i])); } } Definition at line 229 of file cmpiValue.cpp. Referenced by value2CMPIData(). |
|
Value: { OpenWBEM::Array<pt> ar; \ v.get(ar); \ for (int i=0; i<aSize; i++) { \ aData[i].value.ct=(CMPIString*)new CMPI_Object(ar[i]); } } Definition at line 224 of file cmpiValue.cpp. Referenced by value2CMPIData(). |
|
Value: { pt##Array ar(aSize); \ for (int i=0; i<aSize; i++) ar[i]=pt(aData[i].value.ct); \ v.set(OpenWBEM::CIMValue(ar)); } Definition at line 30 of file cmpiValue.cpp. Referenced by value2CIMValue(). |
|
Value: { OpenWBEM::Array<pt> ar(aSize); \ for (int i=0; i<aSize; i++) ar[i]=*((pt*)aData[i].value.ct->hdl); \ v.set(OpenWBEM::CIMValue(ar)); } Definition at line 38 of file cmpiValue.cpp. |
|
Value: { OpenWBEM::Array<pt> ar(aSize); \ for (int i=0; i<aSize; i++) ar[i]=OpenWBEM::String(((char*)aData[i].value)->ct); \ v.set(OpenWBEM::CIMValue(ar)); } Definition at line 34 of file cmpiValue.cpp. |
|
Definition at line 390 of file cmpiValue.cpp. References CMPI_keyValue, CMPI_sint64, _CMPIValue::sint64, _CMPIData::state, _CMPIData::type, and _CMPIData::value. |
|
Definition at line 359 of file cmpiValue.cpp. References CMPI_ARRAY, CMPI_boolean, CMPI_char16, CMPI_dateTime, CMPI_real32, CMPI_real64, CMPI_ref, CMPI_sint16, CMPI_sint32, CMPI_sint64, CMPI_sint8, CMPI_string, CMPI_uint16, CMPI_uint32, CMPI_uint64, and CMPI_uint8. Referenced by mbGetProperty(), refGetKey(), and refGetKeyAt(). |
|
Definition at line 43 of file cmpiValue.cpp. References _CMPIValue::array, OW_NAMESPACE::CIMNULL, CMPI_ARRAY, CMPI_chars, CMPI_charsA, CMPI_RC_OK, CMPI_SINT, CMPI_sint16, CMPI_sint32, CMPI_sint64, CMPI_sint8, CMPI_string, CMPI_UINT, CopyToArray, _CMPIArray::hdl, i, _CMPIValue::sint32, _CMPIData::type, and _CMPIData::value. Referenced by argsAddArg(), mbSetProperty(), refAddKey(), and resultReturnData(). |
|