#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <list>
Include dependency graph for options.h:

Classes | |
| class | _optionbase |
| Abstract base class from which all _option<T> objects inherit. More... | |
| class | _option< T > |
| A variable in your program, controlled by a command line option. More... | |
| class | Options |
| A list of command line options, with methods for parsing strings and streams to set the options. More... | |
Functions | |
| template<typename T> | |
| std::string | TypeName (std::vector< T > &t) |
A general method for obtaining the name of an STL vector of type T, given a dummy vector t. | |
| template<typename T> | |
| std::string | TypeName (T &t) |
A general method for obtaining the name of a type T, given a dummy variable t. | |
| std::string | TypeName (int &t) |
| std::string | TypeName (double &t) |
| std::string | TypeName (unsigned int &t) |
| std::string | TypeName (bool &t) |
| std::string | TypeName (std::string &t) |
| template<typename T> | |
| void | StringToVal (std::vector< T > *ptr, std::string value) |
A general method for converting a string value into an STL vector of values of type T. | |
| template<typename T> | |
| void | StringToVal (T *ptr, std::string value) |
A general method for converting a string value into a value of type T. | |
| void | StringToVal (bool *ptr, std::string value) |
| template<typename T> | |
| void | ValToString (std::vector< T > *ptr, std::string &value) |
| A general method for converting an STL vector of values of type T into a string. | |
| template<typename T> | |
| void | ValToString (T *ptr, std::string &value) |
| A general method for converting a value of type T into a string. | |
| void | ValToString (bool *ptr, std::string &value) |
1.4.4