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> inline friend const ValueType * rxvalue_cast(const OdRxValue * value);
Parameters 
Description 
const OdRxValue * value 
[in] Value to be casted. 

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

Constant correct safe cast version. Returns non-null only if ValueType is contained in this value. 

 

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