std::string type;
std::string name;
bool hasDefault;
+ std::string doc;
ParameterInfoBase(std::string const & type);
+
+ virtual std::string defaultValueStr() const = 0;
};
template <class ParameterType>
ParameterInfo();
ParameterType defaultValue;
+
+ virtual std::string defaultValueStr() const;
};
template <class Type>
typedef Type type;
static void parse(ParseCommandInfo::TokensRange const & tokens, Type & out);
static std::string typeDescription();
+ static std::string dump(Type const & value);
};
}}}