API Reference > OdRx Classes > OdRxEnumType Template
OdRxEnumType Template
OdRxEnumTypeOdRxEnumTypeOdRxEnumTypeOdRxEnumTypeOdRxEnumTypeOdRxEnumType
Syntax
C++
template <typename ValueType> class OdRxEnumType : public OdRxValueTypePOD<ValueType>, public IOdRxEnumeration;

RxValueTypeUtil.h

Describes enumeration type for C++ enum to be stored in OdRxValue. Instances of this type should create tags in constructor (or pseudo-constructor) for every enum element. 

 

 
Name 
Description 
 
Default constructor. Creates a new instance of the OdRxEnumType.
 
 
Name 
Description 
 
Appends a new enumeration element descriptor.
 
 
Calculates the number of elements in the enumeration. 
 
Implementation of the base class 'enumeration'. 
 
Returns the enumeration element descriptor at the given index.
 
 
Compares two values of the underlying C++ type.
 
 
Converts a value to a string.
 
Copyright © 2002–2022. Open Design Alliance. All rights reserved.