Go to the documentation of this file.
44 #ifndef COMMANDOPTIONWITHTIMEARG_HPP
45 #define COMMANDOPTIONWITHTIMEARG_HPP
75 const std::string& loOpt,
76 const std::string& timeFormat,
77 const std::string& desc,
107 virtual std::string
getTimeSpec(std::vector<std::string>::size_type index)
const
132 const std::string& loOpt,
133 const std::string& desc,
146 virtual std::string
getTimeSpec(std::vector<std::string>::size_type index)
const;
bool required
Whether or not this is a required command line option.
virtual std::string getArgString() const
CommandOptionWithTimeArg()
Default Constructor.
virtual std::string getTimeSpec(std::vector< std::string >::size_type index) const
Return the appropriate time scanning format for value[index].
CommandOptionWithSimpleTimeArg(const char shOpt, const std::string &loOpt, const std::string &desc, const bool required=false)
std::vector< CommonTime > times
Collection of times scanned in from the command line.
virtual std::string checkArguments()
Validate arguments passed using this option (and store them).
std::string timeSpec
Format used to scan times in.
virtual std::string getTimeSpec(std::vector< std::string >::size_type index) const
Return the appropriate time scanning format for value[index].
CommandOptionWithTimeArg(const char shOpt, const std::string &loOpt, const std::string &timeFormat, const std::string &desc, const bool required=false)
CommandOptionWithSimpleTimeArg()
Default Constructor.
std::vector< CommonTime > getTime() const
Return the times scanned in from the command line.
virtual ~CommandOptionWithTimeArg()
Destructor.
virtual ~CommandOptionWithSimpleTimeArg()
Destructor.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:38