Template Class CPathArgValue#

Inheritance Relationships#

Base Type#

Derived Type#

Class Documentation#

template<typename TVarBase = std::filesystem::path>
class CPathArgValue : public CArgValueImpl<std::filesystem::path>#

Arguments of std::filesystem::path type derived from CArgValueImpl<>.

Subclassed by CValueAssignment< CPathArgValue<>, std::filesystem::path >

Public Functions

inline CPathArgValue(CArgumentDefT<TVarBase> &rArgumentDef)#

Constructor.

Parameters:

rArgumentDef[in] Reference to the command line argument definition.

inline void Parse(std::filesystem::path &rssArgument, const std::string &rssValue) const#

Parse the value from the string(override for assignment values)

Parameters:
  • rssArgument[in] Reference to the string argument.

  • rssValue[in] Reference to the string value to be assigned.

inline std::string GetArgumentOptionMarkup() const#

Get the markup string for the string.

Returns:

std::string Returns the markup string.

inline std::string GetArgumentValueString(const ::std::filesystem::path &rssArgument) const#

Get the value of the variable.

Parameters:

rssArgument[in] Reference to the argument.

Returns:

std::string Returns the value of the variable.