Definition in file stringparser.h.
#include <string>
#include <strstream>
#include <vector>
#include "tristate.h"
Include dependency graph for stringparser.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Compounds | |
class | StringArgs |
Simple string-based function argument parser using StringParser. More... | |
class | StringParser |
This class provides a basic way for values of various types to be specified in a string. More... | |
Defines | |
#define | BASICPARSE_DEF(T) |
This was once a template, but the template was replaced with a macro to avoid an "Internal compiler error" in GCC 2.95. |
|
Value: static T& basicparse(const string& s, T& x) \ { std::istrstream ss(s.c_str(),s.length()); ss >> x; return x; } To restore the template, just replace the first line of the define with:
template <class T> and remove the backslashes and the macro calls. Definition at line 130 of file stringparser.h. |