OW_NAMESPACE::CIMValue Class Reference

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

#include <OW_CIMValue.hpp>

Inheritance diagram for OW_NAMESPACE::CIMValue:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef COWIntrusiveReference<
CIMValueImpl > 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 ()
 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
CIMValueset (const CIMValue &x)
 Assign another CIMValue to this one.
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

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

COWIntrusiveReference< CIMValueImplm_impl

Classes

class  CIMValueImpl

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 OW_CIMValue.hpp.


Member Typedef Documentation

typedef COWIntrusiveReference<CIMValueImpl> CIMValue::* OW_NAMESPACE::CIMValue::safe_bool
 

Definition at line 448 of file OW_CIMValue.hpp.


Constructor & Destructor Documentation

CIMValue::CIMValue CIMNULL_t   )  [explicit]
 

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

Definition at line 274 of file OW_CIMValue.cpp.

CIMValue::CIMValue const CIMValue x  ) 
 

Copy constructor.

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

Definition at line 277 of file OW_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 280 of file OW_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 283 of file OW_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 286 of file OW_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 289 of file OW_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 292 of file OW_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 295 of file OW_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 298 of file OW_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 301 of file OW_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 304 of file OW_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 307 of file OW_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 310 of file OW_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 313 of file OW_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 316 of file OW_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 319 of file OW_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 322 of file OW_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 325 of file OW_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 328 of file OW_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 331 of file OW_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 334 of file OW_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 340 of file OW_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 343 of file OW_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 346 of file OW_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 349 of file OW_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 352 of file OW_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 355 of file OW_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 358 of file OW_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 361 of file OW_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 364 of file OW_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 367 of file OW_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 370 of file OW_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 373 of file OW_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 376 of file OW_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 379 of file OW_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 337 of file OW_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 382 of file OW_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 385 of file OW_CIMValue.cpp.

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

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

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

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

CIMValue::~CIMValue  ) 
 

Destroy this CIMValue object.

Definition at line 3076 of file OW_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 250 of file OW_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL, m_impl, and type.

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 812 of file OW_CIMValue.cpp.

References m_impl.

void CIMValue::get CIMInstanceArray x  )  const
 

Get a CIM instance array from this CIMValue.

Definition at line 559 of file OW_CIMValue.cpp.

void CIMValue::get CIMClassArray x  )  const
 

Get a CIM class array from this CIMValue.

Definition at line 554 of file OW_CIMValue.cpp.

void CIMValue::get CIMDateTimeArray x  )  const
 

Get a CIM datetime array from this CIMValue.

Definition at line 549 of file OW_CIMValue.cpp.

void CIMValue::get BoolArray x  )  const
 

Get a boolean array from this CIMValue.

Definition at line 544 of file OW_CIMValue.cpp.

void CIMValue::get StringArray x  )  const
 

Get a string array from this CIMValue.

Definition at line 534 of file OW_CIMValue.cpp.

void CIMValue::get Real32Array x  )  const
 

Get a real32 array from this CIMValue.

Definition at line 529 of file OW_CIMValue.cpp.

void CIMValue::get Real64Array x  )  const
 

Get a real64 array from this CIMValue.

Definition at line 524 of file OW_CIMValue.cpp.

void CIMValue::get Int64Array x  )  const
 

Get a sint64 array from this CIMValue.

Definition at line 519 of file OW_CIMValue.cpp.

void CIMValue::get UInt64Array x  )  const
 

Get a uint64 array from this CIMValue.

Definition at line 514 of file OW_CIMValue.cpp.

void CIMValue::get Int32Array x  )  const
 

Get a sint32 array from this CIMValue.

Definition at line 509 of file OW_CIMValue.cpp.

void CIMValue::get UInt32Array x  )  const
 

Get a uint32 array from this CIMValue.

Definition at line 504 of file OW_CIMValue.cpp.

void CIMValue::get Int16Array x  )  const
 

Get a sint16 array from this CIMValue.

Definition at line 499 of file OW_CIMValue.cpp.

void CIMValue::get UInt16Array x  )  const
 

Get a uint16 array from this CIMValue.

Definition at line 494 of file OW_CIMValue.cpp.

void CIMValue::get Int8Array x  )  const
 

Get a sint8 array from this CIMValue.

Definition at line 489 of file OW_CIMValue.cpp.

void CIMValue::get UInt8Array x  )  const
 

Get a uint8 array from this CIMValue.

Definition at line 484 of file OW_CIMValue.cpp.

void CIMValue::get Char16Array x  )  const
 

Get a char16 array from this CIMValue.

Definition at line 479 of file OW_CIMValue.cpp.

void CIMValue::get CIMObjectPathArray x  )  const
 

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

Definition at line 539 of file OW_CIMValue.cpp.

void CIMValue::get CIMInstance x  )  const
 

Get a embedded instance value from this CIMValue.

Definition at line 474 of file OW_CIMValue.cpp.

void CIMValue::get CIMClass x  )  const
 

Get a embedded class value from this CIMValue.

Definition at line 469 of file OW_CIMValue.cpp.

void CIMValue::get CIMObjectPath x  )  const
 

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

Definition at line 464 of file OW_CIMValue.cpp.

void CIMValue::get CIMDateTime x  )  const
 

Get a CIM datetime value from this CIMValue.

Definition at line 459 of file OW_CIMValue.cpp.

void CIMValue::get String x  )  const
 

Get a string value from this CIMValue.

Definition at line 454 of file OW_CIMValue.cpp.

void CIMValue::get Real64 x  )  const
 

Get a real64 value from this CIMValue.

Definition at line 449 of file OW_CIMValue.cpp.

void CIMValue::get Real32 x  )  const
 

Get a real32 value from this CIMValue.

Definition at line 444 of file OW_CIMValue.cpp.

void CIMValue::get Int64 x  )  const
 

Get a sint64 value from this CIMValue.

Definition at line 439 of file OW_CIMValue.cpp.

void CIMValue::get UInt64 x  )  const
 

Get a uint64 value from this CIMValue.

Definition at line 434 of file OW_CIMValue.cpp.

void CIMValue::get Int32 x  )  const
 

Get a sint32 value from this CIMValue.

Definition at line 429 of file OW_CIMValue.cpp.

void CIMValue::get UInt32 x  )  const
 

Get a uint32 value from this CIMValue.

Definition at line 424 of file OW_CIMValue.cpp.

void CIMValue::get Int16 x  )  const
 

Get a sint16 value from this CIMValue.

Definition at line 419 of file OW_CIMValue.cpp.

void CIMValue::get UInt16 x  )  const
 

Get a uint16 value from this CIMValue.

Definition at line 414 of file OW_CIMValue.cpp.

void CIMValue::get Int8 x  )  const
 

Get a sing8 value from this CIMValue.

Definition at line 409 of file OW_CIMValue.cpp.

void CIMValue::get UInt8 x  )  const
 

Get a uint8 value from this CIMValue.

Definition at line 404 of file OW_CIMValue.cpp.

void CIMValue::get Char16 x  )  const
 

Get a char16 value from this CIMValue.

Definition at line 399 of file OW_CIMValue.cpp.

void CIMValue::get Bool x  )  const
 

Get a boolean value from this CIMValue.

Definition at line 394 of file OW_CIMValue.cpp.

Referenced by OW_NAMESPACE::IndicationServerImplThread::_processIndication(), OW_NAMESPACE::CIMtoXML(), OW_NAMESPACE::convertToStringArray(), OW_NAMESPACE::NameSpaceProvider::createInstance(), OW_NAMESPACE::XMLCIMFactory::createValue(), OW_NAMESPACE::CppIndicationExportXMLHTTPProvider::exportIndication(), OW_NAMESPACE::NameSpaceProvider::getInstance(), and OW_NAMESPACE::MOF::CIMOMVisitor::VisitQualifierType().

UInt32 CIMValue::getArraySize  )  const
 

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

Definition at line 389 of file OW_CIMValue.cpp.

Referenced by OW_NAMESPACE::convertToStringArray().

CIMDataType CIMValue::getCIMDataType  )  const
 

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

Definition at line 869 of file OW_CIMValue.cpp.

Referenced by OW_NAMESPACE::CIMObjectPath::addKey(), OW_NAMESPACE::CIMParamValueToXML(), OW_NAMESPACE::CIMProperty::CIMProperty(), and OW_NAMESPACE::CIMXMLCIMOMHandle::invokeMethod().

CIMDataType::Type CIMValue::getType  )  const
 

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

Definition at line 867 of file OW_CIMValue.cpp.

References getType().

Referenced by OW_NAMESPACE::IndicationServerImplThread::_processIndication(), OW_NAMESPACE::AssocDb2::addOrDeleteEntries(), OW_NAMESPACE::AssocDbHandle::addOrDeleteEntries(), OW_NAMESPACE::CIMValueCast::castValueToDataType(), OW_NAMESPACE::CIMtoXML(), OW_NAMESPACE::convertToStringArray(), OW_NAMESPACE::CIMNameSpaceUtils::enumNameSpaceAux(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::getInstance(), OW_NAMESPACE::NameSpaceProvider::getInstance(), getType(), OW_NAMESPACE::CIMProperty::hasTrueQualifier(), OW_NAMESPACE::CIMParameter::hasTrueQualifier(), and OW_NAMESPACE::CIMDataType::syncWithValue().

bool CIMValue::isArray  )  const
 

Returns:
true If this CIMValue contains an array.

Definition at line 876 of file OW_CIMValue.cpp.

Referenced by OW_NAMESPACE::CIMValueCast::castValueToDataType(), OW_NAMESPACE::CIMtoXML(), OW_NAMESPACE::CIMNameSpaceUtils::enumNameSpaceAux(), OW_NAMESPACE::OpenWBEM_ConfigSettingDataInstProv::getInstance(), OW_NAMESPACE::makeValueArray(), and OW_NAMESPACE::CIMDataType::syncWithValue().

bool CIMValue::isNumericType  )  const
 

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

Definition at line 901 of file OW_CIMValue.cpp.

OW_NAMESPACE::CIMValue::operator safe_bool  )  const [inline]
 

Definition at line 449 of file OW_CIMValue.hpp.

References m_impl.

bool OW_NAMESPACE::CIMValue::operator!  )  const [inline]
 

Definition at line 451 of file OW_CIMValue.hpp.

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 830 of file OW_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 845 of file OW_CIMValue.cpp.

References m_impl.

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 835 of file OW_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 806 of file OW_CIMValue.cpp.

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 825 of file OW_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 862 of file OW_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 840 of file OW_CIMValue.cpp.

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

Read this object from an input stream.

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

Implements OW_NAMESPACE::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 871 of file OW_CIMValue.cpp.

References m_impl.

CIMValue & CIMValue::set const CIMValue x  ) 
 

Assign another CIMValue to this one.

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

Definition at line 800 of file OW_CIMValue.cpp.

References m_impl.

void CIMValue::setNull  )  [virtual]
 

Set this to a null object.

Implements OW_NAMESPACE::CIMBase.

Definition at line 795 of file OW_CIMValue.cpp.

Referenced by OW_NAMESPACE::MOF::CIMOMVisitor::VisitConstantValueNullValue().

Bool CIMValue::toBool  )  const
 

Definition at line 564 of file OW_CIMValue.cpp.

BoolArray CIMValue::toBoolArray  )  const
 

Definition at line 767 of file OW_CIMValue.cpp.

Char16 CIMValue::toChar16  )  const
 

Definition at line 571 of file OW_CIMValue.cpp.

Char16Array CIMValue::toChar16Array  )  const
 

Definition at line 683 of file OW_CIMValue.cpp.

CIMClass CIMValue::toCIMClass  )  const
 

Definition at line 662 of file OW_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

CIMClassArray CIMValue::toCIMClassArray  )  const
 

Definition at line 781 of file OW_CIMValue.cpp.

CIMDateTime CIMValue::toCIMDateTime  )  const
 

Definition at line 648 of file OW_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

CIMDateTimeArray CIMValue::toCIMDateTimeArray  )  const
 

Definition at line 774 of file OW_CIMValue.cpp.

CIMInstance CIMValue::toCIMInstance  )  const
 

Definition at line 669 of file OW_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

CIMInstanceArray CIMValue::toCIMInstanceArray  )  const
 

Definition at line 788 of file OW_CIMValue.cpp.

CIMObjectPath CIMValue::toCIMObjectPath  )  const
 

Definition at line 655 of file OW_CIMValue.cpp.

References OW_NAMESPACE::CIMNULL.

Referenced by OW_NAMESPACE::IndicationServerImplThread::createSubscription(), and OW_NAMESPACE::CIM_NamespaceInManagerInstProv::getInstance().

CIMObjectPathArray CIMValue::toCIMObjectPathArray  )  const
 

Definition at line 676 of file OW_CIMValue.cpp.

Int16 CIMValue::toInt16  )  const
 

Definition at line 599 of file OW_CIMValue.cpp.

Int16Array CIMValue::toInt16Array  )  const
 

Definition at line 711 of file OW_CIMValue.cpp.

Int32 CIMValue::toInt32  )  const
 

Definition at line 613 of file OW_CIMValue.cpp.

Int32Array CIMValue::toInt32Array  )  const
 

Definition at line 725 of file OW_CIMValue.cpp.

Int64 CIMValue::toInt64  )  const
 

Definition at line 627 of file OW_CIMValue.cpp.

Int64Array CIMValue::toInt64Array  )  const
 

Definition at line 739 of file OW_CIMValue.cpp.

Int8 CIMValue::toInt8  )  const
 

Definition at line 585 of file OW_CIMValue.cpp.

Int8Array CIMValue::toInt8Array  )  const
 

Definition at line 697 of file OW_CIMValue.cpp.

String CIMValue::toMOF  )  const [virtual]
 

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

Implements OW_NAMESPACE::CIMBase.

Definition at line 895 of file OW_CIMValue.cpp.

Real32 CIMValue::toReal32  )  const
 

Definition at line 634 of file OW_CIMValue.cpp.

Real32Array CIMValue::toReal32Array  )  const
 

Definition at line 753 of file OW_CIMValue.cpp.

Real64 CIMValue::toReal64  )  const
 

Definition at line 641 of file OW_CIMValue.cpp.

Real64Array CIMValue::toReal64Array  )  const
 

Definition at line 746 of file OW_CIMValue.cpp.

String CIMValue::toString  )  const [virtual]
 

Returns:
The string representation of this CIMValue object.

Implements OW_NAMESPACE::CIMBase.

Definition at line 883 of file OW_CIMValue.cpp.

References OW_NAMESPACE::String::toString().

Referenced by OW_NAMESPACE::UtilKeyArray::addElement(), OW_NAMESPACE::CIMValueCast::castValueToDataType(), OW_NAMESPACE::CIM_NamespaceInstProv::createInstance(), OW_NAMESPACE::CIM_NamespaceInstProv::deleteInstance(), OW_NAMESPACE::getSourceNameSpace(), and OW_NAMESPACE::raToString().

StringArray CIMValue::toStringArray  )  const
 

Definition at line 760 of file OW_CIMValue.cpp.

UInt16 CIMValue::toUInt16  )  const
 

Definition at line 592 of file OW_CIMValue.cpp.

UInt16Array CIMValue::toUInt16Array  )  const
 

Definition at line 704 of file OW_CIMValue.cpp.

UInt32 CIMValue::toUInt32  )  const
 

Definition at line 606 of file OW_CIMValue.cpp.

UInt32Array CIMValue::toUInt32Array  )  const
 

Definition at line 718 of file OW_CIMValue.cpp.

UInt64 CIMValue::toUInt64  )  const
 

Definition at line 620 of file OW_CIMValue.cpp.

UInt64Array CIMValue::toUInt64Array  )  const
 

Definition at line 732 of file OW_CIMValue.cpp.

UInt8 CIMValue::toUInt8  )  const
 

Definition at line 578 of file OW_CIMValue.cpp.

UInt8Array CIMValue::toUInt8Array  )  const
 

Definition at line 690 of file OW_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 OW_NAMESPACE::SerializableIFC.

Definition at line 878 of file OW_CIMValue.cpp.


Member Data Documentation

COWIntrusiveReference<CIMValueImpl> OW_NAMESPACE::CIMValue::m_impl [private]
 

Definition at line 562 of file OW_CIMValue.hpp.

Referenced by createSimpleValue(), equal(), operator safe_bool(), operator<(), sameType(), and set().


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