Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes
ProgramOptions::ValueMap Class Reference

#include <mapped_value.h>

List of all members.

Public Member Functions

void clear ()
size_t count (const std::string &name) const
bool empty () const
const ValueStoreoperator[] (const std::string &name) const
size_t size () const
 ValueMap ()
 ~ValueMap ()

Static Public Member Functions

template<class T >
static bool add (ValueMap *this_, const std::string &name, const T *value)

Private Types

typedef std::map< std::string,
ValueStore
MapType

Private Member Functions

ValueMapoperator= (const ValueMap &)
 ValueMap (const ValueMap &)

Private Attributes

MapType map_

Detailed Description

Type for storing anonymous values

Maps option names to their values

Definition at line 45 of file mapped_value.h.


Member Typedef Documentation

typedef std::map<std::string, ValueStore> ProgramOptions::ValueMap::MapType [private]

Definition at line 74 of file mapped_value.h.


Constructor & Destructor Documentation

Definition at line 47 of file mapped_value.h.

Definition at line 48 of file mapped_value.h.


Member Function Documentation

template<class T >
static bool ProgramOptions::ValueMap::add ( ValueMap this_,
const std::string &  name,
const T *  value 
) [inline, static]

Definition at line 61 of file mapped_value.h.

Definition at line 52 of file mapped_value.h.

size_t ProgramOptions::ValueMap::count ( const std::string &  name) const [inline]

Definition at line 51 of file mapped_value.h.

bool ProgramOptions::ValueMap::empty ( ) const [inline]

Definition at line 49 of file mapped_value.h.

ValueMap& ProgramOptions::ValueMap::operator= ( const ValueMap ) [private]
const ValueStore& ProgramOptions::ValueMap::operator[] ( const std::string &  name) const [inline]

Definition at line 53 of file mapped_value.h.

size_t ProgramOptions::ValueMap::size ( ) const [inline]

Definition at line 50 of file mapped_value.h.


Member Data Documentation

Definition at line 75 of file mapped_value.h.


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