|
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 64 of file OW_CIMValueCast.cpp.
References OW_NAMESPACE::CIMNULL, OW_NAMESPACE::convertArray(), OW_NAMESPACE::CIMException::FAILED, OW_NAMESPACE::CIMDataType::getType(), OW_NAMESPACE::CIMValue::getType(), OW_NAMESPACE::CIMValue::isArray(), OW_NAMESPACE::CIMDataType::isArrayType(), OW_NAMESPACE::isCompatible(), OW_THROWCIMMSG, OW_NAMESPACE::CIMDataType::toString(), and OW_NAMESPACE::CIMValue::toString().
Referenced by OWBI1::CIMValueCast::castValueToDataType(), OW_NAMESPACE::CIMQualifierType::setDataType(), OW_NAMESPACE::CIMProperty::setDataType(), OW_NAMESPACE::CIMQualifierType::setDefaultValue(), OW_NAMESPACE::CIMServer::setProperty(), OW_NAMESPACE::CIMRepository2::setProperty(), OW_NAMESPACE::CIMRepository::setProperty(), OW_NAMESPACE::CIMProperty::setValue(), OW_NAMESPACE::MOF::CIMOMVisitor::VisitQualifierParameterArrayInitializer(), and OW_NAMESPACE::MOF::CIMOMVisitor::VisitQualifierParameterConstantValue(). |