Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
StepData_EnumTool.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <TColStd_SequenceOfAsciiString.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_CString.hxx>

Data Structures

class  StepData_EnumTool
 This class gives a way of conversion between the value of an
enumeration and its representation in STEP
An enumeration corresponds to an integer with reserved values,
which begin to 0
In STEP, it is represented by a name in capital letter and
limited by two dots, e.g. .UNKNOWN.

EnumTool works with integers, it is just required to cast
between an integer and an enumeration of required type.

Its definition is intended to allow static creation in once,
without having to recreate once for each use.

It is possible to define subclasses on it, which directly give
the good list of definition texts, and accepts a enumeration
of the good type instead of an integer
More...