OWBI1::CIMValue Class Reference

The CIMValue class is an abstraction for all CIM data types. More...

#include <OWBI1_CIMValue.hpp>

Inheritance diagram for OWBI1::CIMValue:

Inheritance graph
[legend]
Collaboration diagram for OWBI1::CIMValue:

Collaboration graph
[legend]
List of all members.

Public Types

typedef detail::CIMValueRepRef
CIMValue::* 
safe_bool

Public Member Functions

 CIMValue (CIMNULL_t)
 Create a new NULL CIMValue object without any data or implementation.
 CIMValue (const CIMValue &x)
 Copy constructor.
 CIMValue (Bool x)
 Create a new CIMValue that represents a boolean data type.
 CIMValue (bool x)
 Create a new CIMValue that represents a boolean data type.
 CIMValue (UInt8 x)
 Create a new CIMValue that represents a uint8 data type.
 CIMValue (Int8 x)
 Create a new CIMValue that represents a sint8 data type.
 CIMValue (UInt16 x)
 Create a new CIMValue that represents a uint16 data type.
 CIMValue (Int16 x)
 Create a new CIMValue that represents a sint16 data type.
 CIMValue (UInt32 x)
 Create a new CIMValue that represents a uint32 data type.
 CIMValue (Int32 x)
 Create a new CIMValue that represents a sint32 data type.
 CIMValue (UInt64 x)
 Create a new CIMValue that represents a uint64 data type.
 CIMValue (Int64 x)
 Create a new CIMValue that represents a sint64 data type.
 CIMValue (Real32 x)
 Create a new CIMValue that represents a real32 data type.
 CIMValue (Real64 x)
 Create a new CIMValue that represents a real64 data type.
 CIMValue (const Char16 &x)
 Create a new CIMValue that represents a char16 data type.
 CIMValue (const String &x)
 Create a new CIMValue that represents a string data type.
 CIMValue (const char *x)
 Create a new CIMValue that represents a string data type.
 CIMValue (const CIMDateTime &x)
 Create a new CIMValue that represents a CIM datetime data type.
 CIMValue (const CIMObjectPath &x)
 Create a new CIMValue that represents a ref data type.
 CIMValue (const CIMClass &x)
 Create a new CIMValue that represents an embedded class object data type.
 CIMValue (const CIMInstance &x)
 Create a new CIMValue that represents an embedded instance object data type.
 CIMValue (const BoolArray &x)
 Create a new CIMValue that represents a boolean array data type.
 CIMValue (const Char16Array &x)
 Create a new CIMValue that represents a char16 array data type.
 CIMValue (const UInt8Array &x)
 Create a new CIMValue that represents a uint8 array data type.
 CIMValue (const Int8Array &x)
 Create a new CIMValue that represents a sint8 array data type.
 CIMValue (const UInt16Array &x)
 Create a new CIMValue that represents a uint16 array data type.
 CIMValue (const Int16Array &x)
 Create a new CIMValue that represents a sint16 array data type.
 CIMValue (const UInt32Array &x)
 Create a new CIMValue that represents a uint32 array data type.
 CIMValue (const Int32Array &x)
 Create a new CIMValue that represents a sint32 array data type.
 CIMValue (const UInt64Array &x)
 Create a new CIMValue that represents a uint64 array data type.
 CIMValue (const Int64Array &x)
 Create a new CIMValue that represents a sint64 array data type.
 CIMValue (const Real64Array &x)
 Create a new CIMValue that represents a real32 array data type.
 CIMValue (const Real32Array &x)
 Create a new CIMValue that represents a real64 array data type.
 CIMValue (const StringArray &x)
 Create a new CIMValue that represents a string array data type.
 CIMValue (const CIMDateTimeArray &x)
 Create a new CIMValue that represents a CIM datetime array data type.
 CIMValue (const CIMObjectPathArray &x)
 Create a new CIMValue that represents a CIM Object Path array.
 CIMValue (const CIMClassArray &x)
 Create a new CIMValue that represents a embedded class array.
 CIMValue (const CIMInstanceArray &x)
 Create a new CIMValue that represents a embedded instance array.
 CIMValue (const detail::CIMValueRepRef &rep)
 ~CIMValue ()
 Destroy this CIMValue object.
UInt32 getArraySize () const
void get (Bool &x) const
 Get a boolean value from this CIMValue.
void get (Char16 &x) const
 Get a char16 value from this CIMValue.
void get (UInt8 &x) const
 Get a uint8 value from this CIMValue.
void get (Int8 &x) const
 Get a sing8 value from this CIMValue.
void get (UInt16 &x) const
 Get a uint16 value from this CIMValue.
void get (Int16 &x) const
 Get a sint16 value from this CIMValue.
void get (UInt32 &x) const
 Get a uint32 value from this CIMValue.
void get (Int32 &x) const
 Get a sint32 value from this CIMValue.
void get (UInt64 &x) const
 Get a uint64 value from this CIMValue.
void get (Int64 &x) const
 Get a sint64 value from this CIMValue.
void get (Real32 &x) const
 Get a real32 value from this CIMValue.
void get (Real64 &x) const
 Get a real64 value from this CIMValue.
void get (String &x) const
 Get a string value from this CIMValue.
void get (CIMDateTime &x) const
 Get a CIM datetime value from this CIMValue.
void get (CIMObjectPath &x) const
 Get a reference (Object path) value from this CIMValue.
void get (CIMClass &x) const
 Get a embedded class value from this CIMValue.
void get (CIMInstance &x) const
 Get a embedded instance value from this CIMValue.
void get (CIMObjectPathArray &x) const
 Get a reference (Object path) array value from this CIMValue.
void get (Char16Array &x) const
 Get a char16 array from this CIMValue.
void get (UInt8Array &x) const
 Get a uint8 array from this CIMValue.
void get (Int8Array &x) const
 Get a sint8 array from this CIMValue.
void get (UInt16Array &x) const
 Get a uint16 array from this CIMValue.
void get (Int16Array &x) const
 Get a sint16 array from this CIMValue.
void get (UInt32Array &x) const
 Get a uint32 array from this CIMValue.
void get (Int32Array &x) const
 Get a sint32 array from this CIMValue.
void get (UInt64Array &x) const
 Get a uint64 array from this CIMValue.
void get (Int64Array &x) const
 Get a sint64 array from this CIMValue.
void get (Real64Array &x) const
 Get a real64 array from this CIMValue.
void get (Real32Array &x) const
 Get a real32 array from this CIMValue.
void get (StringArray &x) const
 Get a string array from this CIMValue.
void get (BoolArray &x) const
 Get a boolean array from this CIMValue.
void get (CIMDateTimeArray &x) const
 Get a CIM datetime array from this CIMValue.
void get (CIMClassArray &x) const
 Get a CIM class array from this CIMValue.
void get (CIMInstanceArray &x) const
 Get a CIM instance array from this CIMValue.
Bool toBool () const
Char16 toChar16 () const
UInt8 toUInt8 () const
Int8 toInt8 () const
UInt16 toUInt16 () const
Int16 toInt16 () const
UInt32 toUInt32 () const
Int32 toInt32 () const
UInt64 toUInt64 () const
Int64 toInt64 () const
Real32 toReal32 () const
Real64 toReal64 () const
CIMDateTime toCIMDateTime () const
CIMObjectPath toCIMObjectPath () const
CIMClass toCIMClass () const
CIMInstance toCIMInstance () const
CIMObjectPathArray toCIMObjectPathArray () const
Char16Array toChar16Array () const
UInt8Array toUInt8Array () const
Int8Array toInt8Array () const
UInt16Array toUInt16Array () const
Int16Array toInt16Array () const
UInt32Array toUInt32Array () const
Int32Array toInt32Array () const
UInt64Array toUInt64Array () const
Int64Array toInt64Array () const
Real64Array toReal64Array () const
Real32Array toReal32Array () const
StringArray toStringArray () const
BoolArray toBoolArray () const
CIMDateTimeArray toCIMDateTimeArray () const
CIMClassArray toCIMClassArray () const
CIMInstanceArray toCIMInstanceArray () const
virtual void setNull ()
 Set this to a null object.
 operator safe_bool () const
bool operator! () const
CIMValueoperator= (const CIMValue &x)
 Assignment operator.
bool equal (const CIMValue &x) const
 Determine equality of this CIMValue object with another.
bool operator== (const CIMValue &x) const
 Equality operator.
bool operator!= (const CIMValue &x) const
 Inequality operator.
bool operator<= (const CIMValue &x) const
 Less than or equal operator.
bool operator>= (const CIMValue &x) const
 Greater than or equal operator.
bool operator< (const CIMValue &x) const
 Less than operator.
bool operator> (const CIMValue &x) const
 Greater than operator.
CIMDataType::Type getType () const
CIMDataType getCIMDataType () const
bool sameType (const CIMValue &x) const
 Determine if another CIMValue has the same data type as this one.
bool isArray () const
virtual void readObject (std::istream &istrm)
 Read this object from an input stream.
virtual void writeObject (std::ostream &ostrm) const
 Write this object to an output stream.
virtual String toString () const
virtual String toMOF () const
bool isNumericType () const
detail::CIMValueRepRef getRep () const

Static Public Member Functions

static CIMValue createSimpleValue (const String &cimtype, const String &value)
 Create an CIMValue object of a specified type from a string.

Private Member Functions

 CIMValue (const void *)
 CIMValue (void *)
 CIMValue (volatile const void *)
 CIMValue (volatile void *)

Private Attributes

detail::CIMValueRepRef m_rep

Detailed Description

The CIMValue class is an abstraction for all CIM data types.

CIMValue objects are ref counted and copy on write.

Definition at line 53 of file OWBI1_CIMValue.hpp.


Member Typedef Documentation

typedef detail::CIMValueRepRef CIMValue::* OWBI1::CIMValue::safe_bool
 

Definition at line 449 of file OWBI1_CIMValue.hpp.


Constructor & Destructor Documentation

CIMValue::CIMValue CIMNULL_t   )  [explicit]
 

Create a new NULL CIMValue object without any data or implementation.

Definition at line 79 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMValue x  ) 
 

Copy constructor.

Parameters:
x The CIMValue object to make this object a copy of.

Definition at line 85 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Bool  x  )  [explicit]
 

Create a new CIMValue that represents a boolean data type.

Parameters:
x The boolean value this object will contain.

Definition at line 92 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue bool  x  )  [explicit]
 

Create a new CIMValue that represents a boolean data type.

Parameters:
x The boolean value this object will contain.

Definition at line 95 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue UInt8  x  )  [explicit]
 

Create a new CIMValue that represents a uint8 data type.

Parameters:
x The uint8 value this object will contain.

Definition at line 98 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Int8  x  )  [explicit]
 

Create a new CIMValue that represents a sint8 data type.

Parameters:
x The sint8 value this object will contain.

Definition at line 101 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue UInt16  x  )  [explicit]
 

Create a new CIMValue that represents a uint16 data type.

Parameters:
x The uint16 value this object will contain.

Definition at line 104 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Int16  x  )  [explicit]
 

Create a new CIMValue that represents a sint16 data type.

Parameters:
x The sint16 value this object will contain.

Definition at line 107 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue UInt32  x  )  [explicit]
 

Create a new CIMValue that represents a uint32 data type.

Parameters:
x The uint32 value this object will contain.

Definition at line 110 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Int32  x  )  [explicit]
 

Create a new CIMValue that represents a sint32 data type.

Parameters:
x The sint32 value this object will contain.

Definition at line 113 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue UInt64  x  )  [explicit]
 

Create a new CIMValue that represents a uint64 data type.

Parameters:
x The uint64 value this object will contain.

Definition at line 116 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Int64  x  )  [explicit]
 

Create a new CIMValue that represents a sint64 data type.

Parameters:
x The sint64 value this object will contain.

Definition at line 119 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Real32  x  )  [explicit]
 

Create a new CIMValue that represents a real32 data type.

Parameters:
x The real32 value this object will contain.

Definition at line 122 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue Real64  x  )  [explicit]
 

Create a new CIMValue that represents a real64 data type.

Parameters:
x The boolean value this object will contain.

Definition at line 125 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Char16 x  )  [explicit]
 

Create a new CIMValue that represents a char16 data type.

Parameters:
x The char16 value this object will contain.

Definition at line 128 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const String x  )  [explicit]
 

Create a new CIMValue that represents a string data type.

Parameters:
x The string value this object will contain.

Definition at line 131 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const char *  x  )  [explicit]
 

Create a new CIMValue that represents a string data type.

Parameters:
x The string value this object will contain.

Definition at line 134 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMDateTime x  )  [explicit]
 

Create a new CIMValue that represents a CIM datetime data type.

Parameters:
x The CIM datetime value this object will contain.

Definition at line 137 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMObjectPath x  )  [explicit]
 

Create a new CIMValue that represents a ref data type.

Parameters:
x The Object path value this object will contain.

Definition at line 140 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMClass x  )  [explicit]
 

Create a new CIMValue that represents an embedded class object data type.

Parameters:
x The class this object will contain.

Definition at line 143 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMInstance x  )  [explicit]
 

Create a new CIMValue that represents an embedded instance object data type.

Parameters:
x The instance this object will contain.

Definition at line 146 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const BoolArray x  )  [explicit]
 

Create a new CIMValue that represents a boolean array data type.

Parameters:
x The boolean array this object will contain.

Definition at line 152 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Char16Array x  )  [explicit]
 

Create a new CIMValue that represents a char16 array data type.

Parameters:
x The char16 array this object will contain.

Definition at line 155 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const UInt8Array x  )  [explicit]
 

Create a new CIMValue that represents a uint8 array data type.

Parameters:
x The uint8 array this object will contain.

Definition at line 158 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Int8Array x  )  [explicit]
 

Create a new CIMValue that represents a sint8 array data type.

Parameters:
x The sint8 array this object will contain.

Definition at line 161 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const UInt16Array x  )  [explicit]
 

Create a new CIMValue that represents a uint16 array data type.

Parameters:
x The uint16 array this object will contain.

Definition at line 164 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Int16Array x  )  [explicit]
 

Create a new CIMValue that represents a sint16 array data type.

Parameters:
x The sint16 array this object will contain.

Definition at line 167 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const UInt32Array x  )  [explicit]
 

Create a new CIMValue that represents a uint32 array data type.

Parameters:
x The uint32 array this object will contain.

Definition at line 170 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Int32Array x  )  [explicit]
 

Create a new CIMValue that represents a sint32 array data type.

Parameters:
x The sint32 array this object will contain.

Definition at line 173 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const UInt64Array x  )  [explicit]
 

Create a new CIMValue that represents a uint64 array data type.

Parameters:
x The uint64 array this object will contain.

Definition at line 176 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Int64Array x  )  [explicit]
 

Create a new CIMValue that represents a sint64 array data type.

Parameters:
x The sint64 array this object will contain.

Definition at line 179 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Real64Array x  )  [explicit]
 

Create a new CIMValue that represents a real32 array data type.

Parameters:
x The real32 array this object will contain.

Definition at line 182 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const Real32Array x  )  [explicit]
 

Create a new CIMValue that represents a real64 array data type.

Parameters:
x The real64 array this object will contain.

Definition at line 185 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const StringArray x  )  [explicit]
 

Create a new CIMValue that represents a string array data type.

Parameters:
x The string array this object will contain.

Definition at line 188 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMDateTimeArray x  )  [explicit]
 

Create a new CIMValue that represents a CIM datetime array data type.

Parameters:
x The datetime array this object will contain.

Definition at line 191 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMObjectPathArray x  )  [explicit]
 

Create a new CIMValue that represents a CIM Object Path array.

Parameters:
x The object path array this object will contain.

Definition at line 149 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMClassArray x  )  [explicit]
 

Create a new CIMValue that represents a embedded class array.

Parameters:
x The class array this object will contain.

Definition at line 194 of file OWBI1_CIMValue.cpp.

CIMValue::CIMValue const CIMInstanceArray x  )  [explicit]
 

Create a new CIMValue that represents a embedded instance array.

Parameters:
x The instance array this object will contain.

Definition at line 197 of file OWBI1_CIMValue.cpp.

OWBI1::CIMValue::CIMValue const detail::CIMValueRepRef rep  )  [explicit]
 

OWBI1::CIMValue::CIMValue const void *   )  [explicit, private]
 

OWBI1::CIMValue::CIMValue void *   )  [explicit, private]
 

OWBI1::CIMValue::CIMValue volatile const void *   )  [explicit, private]
 

OWBI1::CIMValue::CIMValue volatile void *   )  [explicit, private]
 

CIMValue::~CIMValue  ) 
 

Destroy this CIMValue object.

Definition at line 694 of file OWBI1_CIMValue.cpp.


Member Function Documentation

CIMValue CIMValue::createSimpleValue const String cimtype,
const String value
[static]
 

Create an CIMValue object of a specified type from a string.

Parameters:
cimtype The string representation of the data type to convert to. (e.g. "uint8", "real32", etc...)
value The string representation of the CIM value.
Returns:
An CIMValue object of the specified data type with the specified value.

Definition at line 65 of file OWBI1_CIMValue.cpp.

References OWBI1::String::c_str().

bool CIMValue::equal const CIMValue x  )  const
 

Determine equality of this CIMValue object with another.

Parameters:
x The CIMValue object to check for equality with.
Returns:
true If this CIMValue is equal to the given CIMValue.

Definition at line 612 of file OWBI1_CIMValue.cpp.

References m_rep.

void CIMValue::get CIMInstanceArray x  )  const
 

Get a CIM instance array from this CIMValue.

Definition at line 417 of file OWBI1_CIMValue.cpp.

References OWBI1::detail::wrapArray().

void CIMValue::get CIMClassArray x  )  const
 

Get a CIM class array from this CIMValue.

Definition at line 410 of file OWBI1_CIMValue.cpp.

References OWBI1::detail::wrapArray().

void CIMValue::get CIMDateTimeArray x  )  const
 

Get a CIM datetime array from this CIMValue.

Definition at line 403 of file OWBI1_CIMValue.cpp.

References OWBI1::detail::wrapArray().

void CIMValue::get BoolArray x  )  const
 

Get a boolean array from this CIMValue.

Definition at line 396 of file OWBI1_CIMValue.cpp.

void CIMValue::get StringArray x  )  const
 

Get a string array from this CIMValue.

Definition at line 382 of file OWBI1_CIMValue.cpp.

References OWBI1::detail::convertStringArray().

void CIMValue::get Real32Array x  )  const
 

Get a real32 array from this CIMValue.

Definition at line 375 of file OWBI1_CIMValue.cpp.

void CIMValue::get Real64Array x  )  const
 

Get a real64 array from this CIMValue.

Definition at line 368 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int64Array x  )  const
 

Get a sint64 array from this CIMValue.

Definition at line 361 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt64Array x  )  const
 

Get a uint64 array from this CIMValue.

Definition at line 354 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int32Array x  )  const
 

Get a sint32 array from this CIMValue.

Definition at line 347 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt32Array x  )  const
 

Get a uint32 array from this CIMValue.

Definition at line 340 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int16Array x  )  const
 

Get a sint16 array from this CIMValue.

Definition at line 333 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt16Array x  )  const
 

Get a uint16 array from this CIMValue.

Definition at line 326 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int8Array x  )  const
 

Get a sint8 array from this CIMValue.

Definition at line 319 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt8Array x  )  const
 

Get a uint8 array from this CIMValue.

Definition at line 312 of file OWBI1_CIMValue.cpp.

void CIMValue::get Char16Array x  )  const
 

Get a char16 array from this CIMValue.

Definition at line 305 of file OWBI1_CIMValue.cpp.

void CIMValue::get CIMObjectPathArray x  )  const
 

Get a reference (Object path) array value from this CIMValue.

Definition at line 389 of file OWBI1_CIMValue.cpp.

References OWBI1::detail::wrapArray().

void CIMValue::get CIMInstance x  )  const
 

Get a embedded instance value from this CIMValue.

Definition at line 298 of file OWBI1_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

void CIMValue::get CIMClass x  )  const
 

Get a embedded class value from this CIMValue.

Definition at line 291 of file OWBI1_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

void CIMValue::get CIMObjectPath x  )  const
 

Get a reference (Object path) value from this CIMValue.

Definition at line 284 of file OWBI1_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

void CIMValue::get CIMDateTime x  )  const
 

Get a CIM datetime value from this CIMValue.

Definition at line 277 of file OWBI1_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

void CIMValue::get String x  )  const
 

Get a string value from this CIMValue.

Definition at line 270 of file OWBI1_CIMValue.cpp.

References OWBI1::String::c_str().

void CIMValue::get Real64 x  )  const
 

Get a real64 value from this CIMValue.

Definition at line 265 of file OWBI1_CIMValue.cpp.

void CIMValue::get Real32 x  )  const
 

Get a real32 value from this CIMValue.

Definition at line 260 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int64 x  )  const
 

Get a sint64 value from this CIMValue.

Definition at line 255 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt64 x  )  const
 

Get a uint64 value from this CIMValue.

Definition at line 250 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int32 x  )  const
 

Get a sint32 value from this CIMValue.

Definition at line 245 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt32 x  )  const
 

Get a uint32 value from this CIMValue.

Definition at line 240 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int16 x  )  const
 

Get a sint16 value from this CIMValue.

Definition at line 235 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt16 x  )  const
 

Get a uint16 value from this CIMValue.

Definition at line 230 of file OWBI1_CIMValue.cpp.

void CIMValue::get Int8 x  )  const
 

Get a sing8 value from this CIMValue.

Definition at line 225 of file OWBI1_CIMValue.cpp.

void CIMValue::get UInt8 x  )  const
 

Get a uint8 value from this CIMValue.

Definition at line 220 of file OWBI1_CIMValue.cpp.

void CIMValue::get Char16 x  )  const
 

Get a char16 value from this CIMValue.

Definition at line 213 of file OWBI1_CIMValue.cpp.

References OWBI1::Char16::getValue().

void CIMValue::get Bool x  )  const
 

Get a boolean value from this CIMValue.

Definition at line 206 of file OWBI1_CIMValue.cpp.

UInt32 CIMValue::getArraySize  )  const
 

Returns:
The size of the array this CIMValue contains if it contains an array.

Definition at line 201 of file OWBI1_CIMValue.cpp.

CIMDataType CIMValue::getCIMDataType  )  const
 

Returns:
The type for this CIMValue. (see class CIMDataType)

Definition at line 653 of file OWBI1_CIMValue.cpp.

detail::CIMValueRepRef OWBI1::CIMValue::getRep  )  const
 

Referenced by OWBI1::CIMValueCast::castValueToDataType(), OWBI1::CIMQualifierType::setDefaultValue(), OWBI1::CIMObjectPath::setKeyValue(), OWBI1::CIMQualifier::setValue(), and OWBI1::CIMDataType::syncWithValue().

CIMDataType::Type CIMValue::getType  )  const
 

Returns:
The integral representation of the data type for this CIMValue. (see class CIMDataType)

Definition at line 647 of file OWBI1_CIMValue.cpp.

Referenced by OWBI1::CIMParameter::hasTrueQualifier().

bool CIMValue::isArray  )  const
 

Returns:
true If this CIMValue contains an array.

Definition at line 665 of file OWBI1_CIMValue.cpp.

bool CIMValue::isNumericType  )  const
 

Returns:
true if this CIMValue object contains a numeric type.

Definition at line 688 of file OWBI1_CIMValue.cpp.

CIMValue::operator safe_bool  )  const
 

Definition at line 699 of file OWBI1_CIMValue.cpp.

bool CIMValue::operator!  )  const
 

Definition at line 706 of file OWBI1_CIMValue.cpp.

bool CIMValue::operator!= const CIMValue x  )  const
 

Inequality operator.

Parameters:
x The CIMValue to check for inequality with.
Returns:
true if the specifed CIMValue is not equal to this one. Otherwise false.

Definition at line 622 of file OWBI1_CIMValue.cpp.

bool CIMValue::operator< const CIMValue x  )  const
 

Less than operator.

Parameters:
x The CIMValue to compare this one with.
Returns:
true if The specifed CIMValue is less than this one. Otherwise false.

Definition at line 637 of file OWBI1_CIMValue.cpp.

References m_rep.

bool CIMValue::operator<= const CIMValue x  )  const
 

Less than or equal operator.

Parameters:
x The CIMValue to compare this one with.
Returns:
true if The specifed CIMValue is less than or equal to this one. Otherwise false.

Definition at line 627 of file OWBI1_CIMValue.cpp.

CIMValue & CIMValue::operator= const CIMValue x  ) 
 

Assignment operator.

Parameters:
x The CIMValue to assign to this one.
Returns:
A reference to this CIMValue object.

Definition at line 606 of file OWBI1_CIMValue.cpp.

References m_rep.

bool CIMValue::operator== const CIMValue x  )  const
 

Equality operator.

Parameters:
x The CIMValue to check for equality with.
Returns:
true if the specifed CIMValue is equal to this one. Otherwise false.

Definition at line 617 of file OWBI1_CIMValue.cpp.

bool CIMValue::operator> const CIMValue x  )  const
 

Greater than operator.

Parameters:
x The CIMValue to compare this one with.
Returns:
true if The specifed CIMValue is greater than this one. Otherwise false.

Definition at line 642 of file OWBI1_CIMValue.cpp.

bool CIMValue::operator>= const CIMValue x  )  const
 

Greater than or equal operator.

Parameters:
x The CIMValue to compare this one with.
Returns:
true if The specifed CIMValue is greater than or equal to this one. Otherwise false.

Definition at line 632 of file OWBI1_CIMValue.cpp.

virtual void OWBI1::CIMValue::readObject std::istream &  istrm  )  [virtual]
 

Read this object from an input stream.

Parameters:
istrm The input stream to read this object from.

Implements OWBI1::SerializableIFC.

bool CIMValue::sameType const CIMValue x  )  const
 

Determine if another CIMValue has the same data type as this one.

Parameters:
x The CIMValue to compare this object's data type with.
Returns:
true If the datatypes are the same. Otherwise false.

Definition at line 659 of file OWBI1_CIMValue.cpp.

References m_rep.

void CIMValue::setNull  )  [virtual]
 

Set this to a null object.

Implements OWBI1::CIMBase.

Definition at line 601 of file OWBI1_CIMValue.cpp.

Bool CIMValue::toBool  )  const
 

Definition at line 424 of file OWBI1_CIMValue.cpp.

BoolArray CIMValue::toBoolArray  )  const
 

Definition at line 580 of file OWBI1_CIMValue.cpp.

Char16 CIMValue::toChar16  )  const
 

Definition at line 429 of file OWBI1_CIMValue.cpp.

Char16Array CIMValue::toChar16Array  )  const
 

Definition at line 509 of file OWBI1_CIMValue.cpp.

CIMClass CIMValue::toCIMClass  )  const
 

Definition at line 494 of file OWBI1_CIMValue.cpp.

CIMClassArray CIMValue::toCIMClassArray  )  const
 

Definition at line 591 of file OWBI1_CIMValue.cpp.

CIMDateTime CIMValue::toCIMDateTime  )  const
 

Definition at line 484 of file OWBI1_CIMValue.cpp.

CIMDateTimeArray CIMValue::toCIMDateTimeArray  )  const
 

Definition at line 586 of file OWBI1_CIMValue.cpp.

CIMInstance CIMValue::toCIMInstance  )  const
 

Definition at line 499 of file OWBI1_CIMValue.cpp.

CIMInstanceArray CIMValue::toCIMInstanceArray  )  const
 

Definition at line 596 of file OWBI1_CIMValue.cpp.

CIMObjectPath CIMValue::toCIMObjectPath  )  const
 

Definition at line 489 of file OWBI1_CIMValue.cpp.

CIMObjectPathArray CIMValue::toCIMObjectPathArray  )  const
 

Definition at line 504 of file OWBI1_CIMValue.cpp.

Int16 CIMValue::toInt16  )  const
 

Definition at line 449 of file OWBI1_CIMValue.cpp.

Int16Array CIMValue::toInt16Array  )  const
 

Definition at line 533 of file OWBI1_CIMValue.cpp.

Int32 CIMValue::toInt32  )  const
 

Definition at line 459 of file OWBI1_CIMValue.cpp.

Int32Array CIMValue::toInt32Array  )  const
 

Definition at line 545 of file OWBI1_CIMValue.cpp.

Int64 CIMValue::toInt64  )  const
 

Definition at line 469 of file OWBI1_CIMValue.cpp.

Int64Array CIMValue::toInt64Array  )  const
 

Definition at line 557 of file OWBI1_CIMValue.cpp.

Int8 CIMValue::toInt8  )  const
 

Definition at line 439 of file OWBI1_CIMValue.cpp.

Int8Array CIMValue::toInt8Array  )  const
 

Definition at line 521 of file OWBI1_CIMValue.cpp.

String CIMValue::toMOF  )  const [virtual]
 

Returns:
The MOF representation of this CIMValue as an String.

Implements OWBI1::CIMBase.

Definition at line 681 of file OWBI1_CIMValue.cpp.

Real32 CIMValue::toReal32  )  const
 

Definition at line 474 of file OWBI1_CIMValue.cpp.

Real32Array CIMValue::toReal32Array  )  const
 

Definition at line 569 of file OWBI1_CIMValue.cpp.

Real64 CIMValue::toReal64  )  const
 

Definition at line 479 of file OWBI1_CIMValue.cpp.

Real64Array CIMValue::toReal64Array  )  const
 

Definition at line 563 of file OWBI1_CIMValue.cpp.

String CIMValue::toString  )  const [virtual]
 

Returns:
The string representation of this CIMValue object.

Implements OWBI1::CIMBase.

Definition at line 676 of file OWBI1_CIMValue.cpp.

References OWBI1::String::c_str(), and OWBI1::String::toString().

StringArray CIMValue::toStringArray  )  const
 

Definition at line 575 of file OWBI1_CIMValue.cpp.

References OWBI1::detail::convertStringArray().

UInt16 CIMValue::toUInt16  )  const
 

Definition at line 444 of file OWBI1_CIMValue.cpp.

UInt16Array CIMValue::toUInt16Array  )  const
 

Definition at line 527 of file OWBI1_CIMValue.cpp.

UInt32 CIMValue::toUInt32  )  const
 

Definition at line 454 of file OWBI1_CIMValue.cpp.

UInt32Array CIMValue::toUInt32Array  )  const
 

Definition at line 539 of file OWBI1_CIMValue.cpp.

UInt64 CIMValue::toUInt64  )  const
 

Definition at line 464 of file OWBI1_CIMValue.cpp.

UInt64Array CIMValue::toUInt64Array  )  const
 

Definition at line 551 of file OWBI1_CIMValue.cpp.

UInt8 CIMValue::toUInt8  )  const
 

Definition at line 434 of file OWBI1_CIMValue.cpp.

UInt8Array CIMValue::toUInt8Array  )  const
 

Definition at line 515 of file OWBI1_CIMValue.cpp.

void CIMValue::writeObject std::ostream &  ostrm  )  const [virtual]
 

Write this object to an output stream.

Parameters:
ostrm The output stream to write this object to.

Implements OWBI1::SerializableIFC.

Definition at line 671 of file OWBI1_CIMValue.cpp.


Member Data Documentation

detail::CIMValueRepRef OWBI1::CIMValue::m_rep [private]
 

Definition at line 557 of file OWBI1_CIMValue.hpp.

Referenced by equal(), operator<(), operator=(), and sameType().


The documentation for this class was generated from the following files:
Generated on Thu Feb 9 09:18:19 2006 for openwbem by  doxygen 1.4.6