OWBI1::CIMValueCast Namespace Reference


Functions

CIMValue castValueToDataType (const CIMValue &value, const CIMDataType &dataType)
 Converts a given CIMValue object to an CIMValue object that represents the given CIMDataType.


Function Documentation

OWBI1_OWBI1PROVIFC_API CIMValue OWBI1::CIMValueCast::castValueToDataType const CIMValue value,
const CIMDataType &  dataType
 

Converts a given CIMValue object to an CIMValue object that represents the given CIMDataType.

Parameters:
value The CIMValue object to be converted.
dataType The data type to convert the value to.
Exceptions:
ValueCastException if the convertion is not possible.

Definition at line 56 of file OWBI1_CIMValueCast.cpp.

References OW_NAMESPACE::CIMValueCast::castValueToDataType(), OWBI1::CIMDataType::getRep(), OWBI1::CIMValue::getRep(), and OWBI1_THROW.


Generated on Thu Feb 9 09:19:04 2006 for openwbem by  doxygen 1.4.6