API Reference > OdRx Classes > OdRxValue Class > OdRxValue Methods > OdRxValue::rxenum_cast Method
OdRxValue::rxenum_cast Method
Syntax
C++
template <typename ValueType> inline friend const ValueType * rxenum_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 for enumerations. Returns non-null only if ValueType is contained in this value. 

 

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