Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
elm::option Namespace Reference

Classes

class  AbstractValueOption
 
class  EnumOption
 
class  ListOption
 
class  Manager
 
class  Option
 
class  OptionException
 
class  StringList
 
class  SwitchOption
 
class  UnknownException
 
class  Value
 
class  ValueOption
 

Typedefs

typedef enum elm::option::usage_t usage_t
 
typedef SwitchOption Switch
 

Enumerations

enum  usage_t { arg_none, arg_optional, arg_required }
 

Functions

template<class T >
read (string arg)
 
template<>
string read< string > (string arg)
 
template<>
cstring read< cstring > (string arg)
 

Typedef Documentation

◆ Switch

◆ usage_t

Enumeration Type Documentation

◆ usage_t

enum usage_t

Defines the kind of arguments used by an option.

Enumerator
arg_none 

This option does not require an argument.

arg_optional 

Accept but does not require an argument.

arg_required 

Require an argument.

Function Documentation

◆ read()

T elm::option::read ( string  arg)
inline

◆ read< cstring >()

cstring read< cstring > ( string  arg)

◆ read< string >()

string read< string > ( string  arg)