clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | Static Public Member Functions | List of all members
ProgramOptions::ValueMapping< T > Struct Template Reference

#include <typed_value.h>

Inheritance diagram for ProgramOptions::ValueMapping< T >:
Inheritance graph
Collaboration diagram for ProgramOptions::ValueMapping< T >:
Collaboration graph

Public Types

typedef ValueMapping this_type
 
typedef ValueMappingBase base_type
 
- Public Types inherited from ProgramOptions::ValueMappingBase
typedef std::vector< std::pair
< const char *, int > > 
base_type
 

Public Member Functions

this_typeoperator() (const char *strVal, T eVal)
 
 operator typename detail::Parser< T >::type ()
 
 operator typename detail::Parser< int >::type ()
 
- Public Member Functions inherited from ProgramOptions::ValueMappingBase
void add (const char *strVal, int eVal)
 
const int * get (const char *strVal) const
 

Static Public Member Functions

static ValueMappinginstance ()
 
template<class U >
static bool parse (const std::string &value, U &out)
 

Member Typedef Documentation

template<class T >
typedef ValueMappingBase ProgramOptions::ValueMapping< T >::base_type
template<class T >
typedef ValueMapping ProgramOptions::ValueMapping< T >::this_type

Member Function Documentation

template<class T >
static ValueMapping& ProgramOptions::ValueMapping< T >::instance ( )
inlinestatic
template<class T >
ProgramOptions::ValueMapping< T >::operator typename detail::Parser< int >::type ( )
inline
template<class T >
ProgramOptions::ValueMapping< T >::operator typename detail::Parser< T >::type ( )
inline
template<class T >
this_type& ProgramOptions::ValueMapping< T >::operator() ( const char *  strVal,
eVal 
)
inline

Here is the call graph for this function:

template<class T >
template<class U >
static bool ProgramOptions::ValueMapping< T >::parse ( const std::string &  value,
U &  out 
)
inlinestatic

Here is the call graph for this function:


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