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