API Reference > OdRx Classes > OdRxValue Class > OdRxValue Methods > rxvalue_cast Method > OdRxValue::rxvalue_cast Method (OdRxValue*)
OdRxValue::rxvalue_cast Method (OdRxValue*)
Syntax
C++
template <typename ValueType> friend ValueType* rxvalue_cast(OdRxValue* value);
Parameters 
Description 
OdRxValue* value 
[in] Value to be casted. 

Value type if it is contained in value; NULL otherwise.

Safe cast to the contained C++ type. Returns non-null only if ValueType is contained in this value. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.