Template Class CStdStringValue#

Inheritance Relationships#

Base Type#

Derived Type#

Class Documentation#

template<typename TVarBase = std::string, typename TVar = std::string>
class CStdStringValue : public CArgValueImpl<std::string>#

Arguments of std::string type derived from CArgValueImpl<>.

Subclassed by CValueAssignment< CStdStringValue<>, std::string >

Public Functions

inline CStdStringValue(CArgumentDefT<TVarBase> &rArgumentDef)#

Constructor.

Parameters:

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

inline void Parse(TVar &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 TVar &rssArgument) const#

Get the value of the variable.

Parameters:

rssArgument[in] Reference to the argument.

Returns:

std::string Returns the value of the variable.