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 char * stringValue
 The string value of the entry. More...
 
EnumType value
 The enum value of the entry. More...
 

Detailed Description

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

Defines the entry for one enum value.

Definition at line 534 of file mlFields.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

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

Definition at line 535 of file mlFields.h.

◆ Entry() [2/2]

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

Definition at line 536 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 539 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 541 of file mlFields.h.

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


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