Template Class CSdvStringValue#

Inheritance Relationships#

Base Type#

Derived Type#

Class Documentation#

template<typename TVarBase = sdv::u8string, typename TVar = sdv::u8string>
class CSdvStringValue : public CArgValueImpl<sdv::u8string>#

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

Subclassed by CValueAssignment< CSdvStringValue<>, sdv::u8string >

Public Functions

inline CSdvStringValue(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.