Slice Tools
  • Home
  • SourceForge Page


  • libFoundation
  • Home
  • Class Hierarchy
  • Class List
  • Class Members
  • Examples


  • SourceForge.net Logo
     

    Options.hh File Reference


    Detailed Description

    Options class interface.

    #include <list>
    #include <map>
    #include <set>
    #include <string>
    #include "getopt.hh"
    #include "Exceptions.hh"
    #include "OptionResult.hh"

    Go to the source code of this file.

    Classes

    class  Options
     Class to simplify results of getopt and getopt_long. More...


    Defines

    #define OPTIONS_HH   1

    Typedefs

    typedef std::map< std::string,
    OptionResult * > 
    OptionsMap
     Map type to hold (option, result *) pairs.

    typedef OptionsMap::iterator OptionsMapIter
     Iterator Type for OptionsMap.

    typedef OptionsMap::const_iterator OptionsMapCIter
     Constant Iterator Type for OptionsMap.

    typedef std::map< std::string,
    int > 
    LongOptionsMap
     Map type to hold (optionName, has_arg) pairs.

    typedef LongOptionsMap::const_iterator LongOptionsMapCIter
     Constant Iterator for LongOptionsMap.

    typedef std::list< std::string > StringList
     List of strings.

    typedef StringList::const_iterator StringListCIter
     Iterator for a list of strings.

    typedef std::set< std::string > StringSet
     Set of strings.

    typedef StringSet::const_iterator StringSetCIter
     Iterator for a set of strings.


    Define Documentation

    #define OPTIONS_HH   1
     


    Typedef Documentation

    typedef std::map<std::string, int> LongOptionsMap
     

    Map type to hold (optionName, has_arg) pairs.

    typedef LongOptionsMap::const_iterator LongOptionsMapCIter
     

    Constant Iterator for LongOptionsMap.

    typedef std::map<std::string, OptionResult *> OptionsMap
     

    Map type to hold (option, result *) pairs.

    typedef OptionsMap::const_iterator OptionsMapCIter
     

    Constant Iterator Type for OptionsMap.

    typedef OptionsMap::iterator OptionsMapIter
     

    Iterator Type for OptionsMap.

    typedef std::list<std::string> StringList
     

    List of strings.

    typedef StringList::const_iterator StringListCIter
     

    Iterator for a list of strings.

    typedef std::set<std::string> StringSet
     

    Set of strings.

    typedef StringSet::const_iterator StringSetCIter
     

    Iterator for a set of strings.