JDFTx  1.7.0
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: