Class CommandLineArgumentTemplate

Class Documentation

class inexor::vulkan_renderer::tools::CommandLineArgumentTemplate

Template class for creating arguments.

Public Functions

inline CommandLineArgumentTemplate(std::string argument, bool takes_args)


Only arguments that take zero or one values are supported.

  • 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

Private Members

const std::string m_argument
const bool m_takes_values = {false}