EnumTraits< E > Class Template Reference

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

#include <EnumTraits.h++>

List of all members.

Static Public Member Functions

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

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

static E defval (  )  [static]

Get the default enumeration value.

static E max (  )  [static]

Get the maximum enumeration value.

static E min (  )  [static]

Get the minimum enumeration value.


The documentation for this class was generated from the following file:
Generated on Sat Nov 26 16:49:09 2011 for libcommonc++ by  doxygen 1.6.3