Classes | Namespaces | Defines | Functions
typed_value.h File Reference
#include "value.h"
#include "string_convert.h"
#include "detail/notifier.h"
#include "errors.h"
#include <memory>
Include dependency graph for typed_value.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ProgramOptions::CustomValue
struct  ProgramOptions::DefaultCreator< T >
struct  ProgramOptions::FlagAction
class  ProgramOptions::NotifiedValue< T >
struct  ProgramOptions::detail::Parser< T >
class  ProgramOptions::StoredValue< T >
struct  ProgramOptions::ValueMapping< T >
struct  ProgramOptions::ValueMappingBase

Namespaces

namespace  ProgramOptions
namespace  ProgramOptions::detail

Defines

#define LIT_TO_STRING(lit)   LIT_TO_STRING_X(lit)
 stringifies a literal like 1 or 23.0
#define LIT_TO_STRING_X(lit)   #lit

Functions

StoredValue< bool > * ProgramOptions::flag (bool &b, FlagAction x=store_true)
template<class ParamT >
NotifiedValue< bool > * ProgramOptions::flag (ParamT *p0, typename detail::Notify< const bool *, ParamT >::type nf, FlagAction a=store_true)
template<class T , class ParamT >
NotifiedValue< T > * ProgramOptions::notify (ParamT *p0, typename detail::Notify< const T *, ParamT >::type nf, typename detail::Parser< T >::type parser=&string_cast< T >)
template<class ParamT >
CustomValue * ProgramOptions::notify (ParamT *p0, typename detail::Notify< const std::string &, ParamT >::type nf)
static const FlagAction ProgramOptions::store_false ((FlagAction::act_store_false))
static const FlagAction ProgramOptions::store_true ((FlagAction::act_store_true))
template<class T , class ParamT >
NotifiedValue< T > * ProgramOptions::storeNotify (T &obj, ParamT *p0, typename detail::Notify< const T *, ParamT >::type nf, typename detail::Parser< T >::type parser=&string_cast< T >)
template<class T >
StoredValue< T > * ProgramOptions::storeTo (T &v, typename detail::Parser< T >::type p=&string_cast< T >)
template<class T >
ValueMapping< T > & ProgramOptions::values ()

Define Documentation

#define LIT_TO_STRING (   lit)    LIT_TO_STRING_X(lit)

stringifies a literal like 1 or 23.0

Definition at line 162 of file typed_value.h.

#define LIT_TO_STRING_X (   lit)    #lit

Definition at line 160 of file typed_value.h.



clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:40