| 65 | std::map<UString, ModifiedOptionT> modifiedOptions; |
| 66 | |
| 67 | struct ToStringVisitor |
| 68 | { |
| 69 | using result_type = UString; |
| 70 | UString operator()(const int &operand) const { return Strings::fromInteger(operand); } |
| 71 | UString operator()(const float &operand) const { return Strings::fromFloat(operand); } |
| 72 | UString operator()(const bool &operand) const { return operand ? "1" : "0"; } |
| 73 | UString operator()(const UString &str) const { return str; } |
| 74 | }; |
| 75 | |
| 76 | public: |
| 77 | ConfigFileImpl() : parsed(false), programName("program") {} |