#include <iostream>#include <fstream>#include <sstream>#include <string>#include <vector>#include <iomanip>#include <algorithm>#include <cctype>#include <typeinfo>#include <stdexcept>Go to the source code of this file.
Classes | |
| class | BadConversion |
| class | InputVariable |
Defines | |
| #define | xstr(s) str(s) |
| #define | str(s) #s |
| #define | READ_INPUT(f, t, v) |
Functions | |
| bool | to_bool (std::string str) |
| #define READ_INPUT | ( | f, | |||
| t, | |||||
| v | ) |
Value:
do { \ InputVariable inputVar(t, #v, &v); \ inputVar.read(f); \ } while (0)
| #define str | ( | s | ) | #s |
| #define xstr | ( | s | ) | str(s) |
| bool to_bool | ( | std::string | str | ) |
convert from string to boolean
1.4.7