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 
 
This is the default constructor for OdRxEnumType class objects.
 
 
Name 
Description 
 
Append 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.
 
 
This method is not defined in the base template, instance must declare a specialization.
 
 
This method is not defined in the base template, instance must declare a specialization.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.