8 #ifndef KTCOMMANDLINEOPTION_H_ 9 #define KTCOMMANDLINEOPTION_H_ 19 template<
typename XInputType >
24 KTCommandLineOption(
const std::string& group,
const std::string& helpMsg,
const std::string& longOpt,
char shortOpt=
'#');
32 template<
typename XInputType >
38 template<
typename XInputType >
52 template<
typename XInputType >
66 KTCommandLineOption(
const std::string& group,
const std::string& helpMsg,
const std::string& longOpt,
char shortOpt=
'#') :
bool AddOption(const std::string &aTitle, const std::string &aHelpMsg, const std::string &aLongOpt, char aShortOpt, bool aWarnOnDuplicate=true)
Simple option adding function, with short option (flag only; no values allowed)
virtual ~KTCommandLineOption()
Parses and stores command-line options.
Contains KTCommandLineHandler.
KTCommandLineHandler * fCLHandler
KTCommandLineOption(const std::string &group, const std::string &helpMsg, const std::string &longOpt, char shortOpt='#')
virtual ~KTCommandLineOption()
KTCommandLineHandler * fCLHandler