Template Class CNumericArgValue#
Defined in File cmdlnparser.h
Inheritance Relationships#
Base Type#
public CArgValueImpl< TVarBase >
(Template Class CArgValueImpl)
Class Documentation#
-
template<typename TVarBase, typename TVar = TVarBase>
class CNumericArgValue : public CArgValueImpl<TVarBase># Arguments of numeric type derived from CArgValueImpl<>.
Public Functions
-
inline CNumericArgValue(CArgumentDefT<TVarBase> &rArgumentDef)#
Constructor.
- Parameters:
rArgumentDef – [in] Reference to the command line argument definition.
-
inline void Parse(TVar &rtArgument, const std::string &rssValue) const#
Parse the value from the string(override for assignment values)
- Parameters:
rtArgument – [in] Reference to the numeric argument.
rssValue – [in] Reference to the string value to be assigned.
-
inline std::string GetArgumentOptionMarkup() const#
Get the markup string for the integer.
- Returns:
std::string Returns the markup string.
-
inline CNumericArgValue(CArgumentDefT<TVarBase> &rArgumentDef)#