Class CommandLineArgumentTemplate¶
Defined in File cla_parser.hpp
Class Documentation¶
-
class CommandLineArgumentTemplate¶
Template class for creating arguments.
Public Functions
-
inline CommandLineArgumentTemplate(std::string argument, bool takes_args)¶
Note
Only arguments that take zero or one values are supported.
- Parameters
argument – The argument to be passed on the command line (e.g. —vsync).
takes_args – True if this argument can take values (e.g. —gpu 1), false otherwise.
-
inline const std::string &argument() const¶
-
inline bool takes_values() const¶
-
inline CommandLineArgumentTemplate(std::string argument, bool takes_args)¶