12 #ifndef lgrValueArg_H_
13 #define lgrValueArg_H_
17 #include <cmdLine/cmdValueArg.h>
19 #include <vlutil/vlString.h>
26 template <
typename ValueType>
31 DtLgrValueArg(
const std::string& flag,
const std::string& name,
32 const std::string& desc,
bool req, ValueType value,
const std::string& typeDesc);
43 virtual operator DtCmdLine::Arg*();
52 virtual const DtString&
type()
const;
64 #define lgrValueArg_INC_
65 #include "lgrValueArg.inl"
66 #undef lgrValueArg_INC_
virtual DtString valueAsString() const
Get the value of the argument as a string.
Definition: lgrValueArg.h:52
Contains MAKLogger::DtAnyValue and MAKLogger::DtValue and MAKLogger::DtValueList classes.
Value argument which adds type information and encoding decoding.
Definition: lgrValueArg.h:27
virtual DtString toDebugString() const
Get the debug output of the argument for error messages.
Definition: lgrValueArg.h:34
virtual const DtString & type() const
Get the type of the argument (A Runtime type).
Definition: lgrValueArg.h:46
DtLgrValueArg(const std::string &flag, const std::string &name, const std::string &desc, bool req, ValueType value, const std::string &typeDesc)
Definition: lgrValueArg.h:15
DtLgrValueArg & operator=(const DtLgrValueArg &)
Not Implemented.
virtual void setValueString(const DtString &value)
Set the value of the argument as a string.
Definition: lgrValueArg.h:66
virtual std::vector< DtString > valueAsStringList() const
Get the value of the argument as a string.
Definition: lgrValueArg.h:58
Contains MAKLogger::DtLgrValueArg and MAKLogger::DtLgrArg and MAKLogger::DtLgrMultiArg and MAKLogger:...
Base logger argument which contains the interface for DtLgrValueArg.
Definition: lgrArg.h:21
virtual bool isArgSet() const
Get whether the argument was set.
Definition: lgrValueArg.h:40
virtual ~DtLgrValueArg()
Definition: lgrValueArg.h:23