- std::string defaultValue, currentValue, type;
- size_t idx;
- int minValue, maxValue;
-};
-
-template<typename T>
-inline T Option::value() const {
+public:
+ UCIOption() {} // Required by std::map::operator[]
+ UCIOption(const char* v, Fn* = NULL);
+ UCIOption(bool v, Fn* = NULL);
+ UCIOption(int v, int min, int max, Fn* = NULL);