Template Class CArgumentDefT< std::vector< TEnum >, typename std::enable_if_t< std::is_enum< TEnum >::value > >#

Inheritance Relationships#

Base Types#

Class Documentation#

template<typename TEnum>
class CArgumentDefT<std::vector<TEnum>, typename std::enable_if_t<std::is_enum<TEnum>::value>> : public CEnumArgumentDefBase<TEnum>, public CArgumentDefBase#

Specialization of CArgumentDefT.

Template Parameters:

TEnum – The type of the argument variable - when it is an enum vector.

Public Functions

template<typename ...TArgumentGroup>
inline CArgumentDefT(CCommandLine &rCLParser, const std::string &rssArgument, const std::shared_ptr<SGroupDef> &rptrGroup, const std::string &rssHelpText, uint32_t uiFlags, std::vector<TEnum> &rtVar, TArgumentGroup... nArgumentGroup)#

Constructor for singular arguments.

Template Parameters:

TArgumentGroup – Types of argument groups for showing argument specific help.

Parameters:
  • rCLParser[in] Reference to the command line parser.

  • rssArgument[in] Pointer to the zero terminated string containing the name of the argument.

  • rptrGroup[in] Reference to the group this argument is assigned to.

  • rssHelpText[in] Pointer to the zero terminated string containing the help text of the argument.

  • uiFlags[in] The argument flags.

  • rtVar[inout] Reference to the argument variable to be changed. This variable will be updated during the parse operation.

  • nArgumentGroup[in] One or more argument group to assign the argument to.