Template Class CPathArgValue#
Defined in File cmdlnparser.h
Inheritance Relationships#
Base Type#
public CArgValueImpl< std::filesystem::path >
(Template Class CArgValueImpl)
Derived Type#
public CValueAssignment< CPathArgValue<>, std::filesystem::path >
(Template Class CValueAssignment)
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.
-
inline CPathArgValue(CArgumentDefT<TVarBase> &rArgumentDef)#