OptionsFromStreamPack Namespace Reference


Classes

class  OptionsFromStreamPack::CommandLineOptionsFromStreamProcessor
 Reads from a file and/or parses from the commandline to initalize an OptionsFromStream object. More...
class  OptionsFromStreamPack::OptionsFromStream
 Extracts options from a text stream and then allows convenient access to them. More...
class  OptionsFromStreamPack::OptionsFromStream::InputStreamError
 Thrown if there is an input error. More...
class  OptionsFromStreamPack::InputException
 Input from stream error. More...
class  OptionsFromStreamPack::AccessException
 Access error. More...
class  OptionsFromStreamPack::SetOptionsFromStream
 Abstact interface for objects that have options to be set that are contained in an OptionsFromStreamObject. More...
class  OptionsFromStreamPack::SetOptionsFromStreamNode
 Node class for setting options from a stream. More...
class  OptionsFromStreamPack::SetOptionsToTargetBase< T >
 Templated node class manipulating a reference to a target object who will have its options set.. More...
class  OptionsFromStreamPack::StringToIntMap
 Map a string to an enumeration. More...
class  OptionsFromStreamPack::StringToIntMap::AlreadyExists
  More...
class  OptionsFromStreamPack::StringToIntMap::DoesNotExist
  More...

Functions

const std::string & options_group_name (OptionsFromStream::const_iterator &itr)
 
const OptionsFromStream::options_group_t options_group (OptionsFromStream::const_iterator &itr)
 
bool StringToBool (const char *opt_name, const char *str)
 Convert a string "true" or "false" into bool #true# or #false#.


Function Documentation

const std::string& options_group_name OptionsFromStream::const_iterator &  itr  )  [inline]
 

Definition at line 529 of file OptionsFromStreamPack_OptionsFromStream.hpp.

const OptionsFromStream::options_group_t options_group OptionsFromStream::const_iterator &  itr  )  [inline]
 

Definition at line 537 of file OptionsFromStreamPack_OptionsFromStream.hpp.

bool OptionsFromStreamPack::StringToBool const char *  opt_name,
const char *  str
 

Convert a string "true" or "false" into bool #true# or #false#.

If the input string is not "true" or "false" then the exception "InputException" will be thrown and the message will include the name of the option this value is for.

Definition at line 35 of file OptionsFromStreamPack_StringToBool.cpp.


Generated on Thu Sep 18 12:36:25 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1