Go to the documentation of this file.
44 #ifndef COMMANDOPTIONWITHPOSITIONARG_HPP
45 #define COMMANDOPTIONWITHPOSITIONARG_HPP
76 const std::string& loOpt,
77 const std::string& posFormat,
78 const std::string& desc,
92 {
return "POSITION"; }
123 #endif // COMMANDOPTIONWITHPOSITIONARG_HPP
bool required
Whether or not this is a required command line option.
virtual ~CommandOptionWithPositionArg()
Destructor.
virtual std::string checkArguments()
Validate arguments passed using this option (and store them).
CommandOptionWithPositionArg(const char shOpt, const std::string &loOpt, const std::string &posFormat, const std::string &desc, const bool required=false)
CommandOptionWithPositionArg()
Default Constructor.
std::vector< Position > positions
Collection of positions scanned in from the command line.
virtual std::string getArgString() const
virtual std::string getPositionSpec(std::vector< std::string >::size_type index) const
Return the appropriate position scanning format for value[index].
std::string posSpec
Format used to scan positions in.
std::vector< Position > getPosition() const
Return the positions scanned in from the command line.
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:38