MeVisLab Toolbox Reference
ml::EnumValues< EnumType >::Entry Struct Reference

Defines the entry for one enum value. More...

#include <mlFields.h>

Public Member Functions

 Entry ()
 
 Entry (const char *sv, EnumType v)
 

Public Attributes

const charstringValue
 The string value of the entry.
 
EnumType value
 The enum value of the entry.
 

Detailed Description

template<typename EnumType>
struct ml::EnumValues< EnumType >::Entry

Defines the entry for one enum value.

Definition at line 322 of file mlFields.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

template<typename EnumType >
ml::EnumValues< EnumType >::Entry::Entry ( )
inline

Definition at line 323 of file mlFields.h.

◆ Entry() [2/2]

template<typename EnumType >
ml::EnumValues< EnumType >::Entry::Entry ( const char * sv,
EnumType v )
inline

Definition at line 324 of file mlFields.h.

Member Data Documentation

◆ stringValue

template<typename EnumType >
const char* ml::EnumValues< EnumType >::Entry::stringValue

The string value of the entry.

Definition at line 327 of file mlFields.h.

Referenced by ml::EnumValues< EnumType >::add().

◆ value

template<typename EnumType >
EnumType ml::EnumValues< EnumType >::Entry::value

The enum value of the entry.

Definition at line 329 of file mlFields.h.

Referenced by ml::EnumValues< EnumType >::add().


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