JDFTx  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EnumStringMap< Enum > Class Template Reference

A template to ease option parsing (maps enums <–> strings) More...

#include <Util.h>

Public Member Functions

template<typename... Args>
 EnumStringMap (Args...args)
 
bool getEnum (const char *key, Enum &e) const
 
const char * getString (Enum e) const
 
string optionList () const
 

Detailed Description

template<typename Enum>
class EnumStringMap< Enum >

A template to ease option parsing (maps enums <–> strings)


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