Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Enum::make Class Reference

#include <elm/rtti/Enum.h>

Public Member Functions

 make (cstring name)
 
makevalue (cstring name, int value)
 
makealias (cstring name, int value)
 

Detailed Description

Maker to build an enumerated value Enum.

Constructor & Destructor Documentation

◆ make()

make ( cstring  name)
inline

Member Function Documentation

◆ alias()

make & alias ( cstring  name,
int  value 
)
inline
Parameters
nameAlias name.
valueValue itself.

References Type::name().

◆ value()

make & value ( cstring  name,
int  value 
)
inline

Add a value.

Parameters
nameValue name.
valueValue itself.

References Type::name().


The documentation for this class was generated from the following files: