RMF
RMF::Enum< TagT > Class Template Reference

A strong enum with an associated string name for each value. More...

#include <RMF/Enum.h>

Inheritance diagram for RMF::Enum< TagT >:

Public Types

typedef TagT Tag

Public Member Functions

 Enum (bool, int i)
 Enum (int i)
 Enum (int i, std::string name)
 Enum (std::string name)

Detailed Description

template<class TagT>
class RMF::Enum< TagT >

A general purpose Enum that has associated names and is type checked in python.

Definition at line 46 of file Enum.h.

Member Typedef Documentation

◆ Tag

template<class TagT>
typedef TagT RMF::Enum< TagT >::Tag

Definition at line 59 of file Enum.h.

Constructor & Destructor Documentation

◆ Enum() [1/5]

template<class TagT>
RMF::Enum< TagT >::Enum ( )

Definition at line 60 of file Enum.h.

◆ Enum() [2/5]

template<class TagT>
RMF::Enum< TagT >::Enum ( int i)
explicit

Definition at line 61 of file Enum.h.

◆ Enum() [3/5]

template<class TagT>
RMF::Enum< TagT >::Enum ( bool ,
int i )

Definition at line 65 of file Enum.h.

◆ Enum() [4/5]

template<class TagT>
RMF::Enum< TagT >::Enum ( std::string name)

Definition at line 73 of file Enum.h.

◆ Enum() [5/5]

template<class TagT>
RMF::Enum< TagT >::Enum ( int i,
std::string name )

Definition at line 78 of file Enum.h.


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