libcommonc++  0.7
EnumTraits< E > Class Template Reference

A class of functions that describe traits of an enumeration. More...

#include <EnumTraits.h++>

Static Public Member Functions

static E min ()
 Get the minimum enumeration value. More...
 
static E max ()
 Get the maximum enumeration value. More...
 
static E defval ()
 Get the default enumeration value. More...
 

Detailed Description

template<typename E>
class ccxx::EnumTraits< E >

A class of functions that describe traits of an enumeration.

Used in conjuction with the enum_cast() template functions. Template specializations should be provided for specific enumeration types.

Author
Mark Lindner

Member Function Documentation

◆ defval()

static E defval ( )
static

Get the default enumeration value.

◆ max()

static E max ( )
static

Get the maximum enumeration value.

◆ min()

static E min ( )
static

Get the minimum enumeration value.


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