Public Types | Public Member Functions | Protected Attributes
ProgramOptions::NotifiedValue< T > Class Template Reference

#include <typed_value.h>

Inheritance diagram for ProgramOptions::NotifiedValue< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef detail::Notifier
< const T * > 
notifier_type
typedef detail::Parser< T >::type parser_type

Public Member Functions

bool doParse (const std::string &name, const std::string &value)
 NotifiedValue (T *(*cf)(), const notifier_type &n, parser_type p)
NotifiedValue< T > * storeTo (T &obj)

Protected Attributes

notifier_type notify_
parser_type parser_
union {
   T *   address
   T *(*   create )()
value_

Detailed Description

template<class T>
class ProgramOptions::NotifiedValue< T >

Definition at line 101 of file typed_value.h.


Member Typedef Documentation

template<class T>
typedef detail::Notifier<const T*> ProgramOptions::NotifiedValue< T >::notifier_type

Definition at line 104 of file typed_value.h.

template<class T>
typedef detail::Parser<T>::type ProgramOptions::NotifiedValue< T >::parser_type

Definition at line 103 of file typed_value.h.


Constructor & Destructor Documentation

template<class T>
ProgramOptions::NotifiedValue< T >::NotifiedValue ( T *(*)()  cf,
const notifier_type n,
parser_type  p 
) [inline]

Definition at line 105 of file typed_value.h.


Member Function Documentation

template<class T>
bool ProgramOptions::NotifiedValue< T >::doParse ( const std::string &  name,
const std::string &  value 
) [inline, virtual]

Implements ProgramOptions::Value.

Definition at line 116 of file typed_value.h.

template<class T>
NotifiedValue<T>* ProgramOptions::NotifiedValue< T >::storeTo ( T &  obj) [inline]

Definition at line 111 of file typed_value.h.


Member Data Documentation

template<class T>
T* ProgramOptions::NotifiedValue< T >::address

Definition at line 136 of file typed_value.h.

template<class T>
T*(* ProgramOptions::NotifiedValue< T >::create)()

Definition at line 137 of file typed_value.h.

template<class T>
notifier_type ProgramOptions::NotifiedValue< T >::notify_ [protected]

Definition at line 140 of file typed_value.h.

template<class T>
parser_type ProgramOptions::NotifiedValue< T >::parser_ [protected]

Definition at line 139 of file typed_value.h.

union { ... } ProgramOptions::NotifiedValue< T >::value_ [protected]

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


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