Extension of Item for extra non-options, stored as strings. More...
Public Member Functions | |
std::string | GetDefault () const override |
bool | HasDefault () const override |
bool | Parse (const std::string &value) const override |
Parse from a string. More... | |
Public Member Functions inherited from ns3::CommandLine::Item | |
virtual | ~Item () |
Destructor. More... | |
Public Attributes | |
std::string | m_value |
The argument value. More... | |
Public Attributes inherited from ns3::CommandLine::Item | |
std::string | m_help |
Argument help string. More... | |
std::string | m_name |
Argument label: --m_name= ... More... | |
Extension of Item for extra non-options, stored as strings.
Definition at line 488 of file command-line.h.
|
overridevirtual |
Implements ns3::CommandLine::Item.
Definition at line 863 of file command-line.cc.
|
overridevirtual |
true
if this item has a default value. Reimplemented from ns3::CommandLine::Item.
Definition at line 857 of file command-line.cc.
|
overridevirtual |
Parse from a string.
[in] | value | The string representation |
true
if parsing the value succeeded Implements ns3::CommandLine::Item.
Definition at line 850 of file command-line.cc.
|
mutable |
The argument value.
mutable
because the Parse()const
in the base class Item. Definition at line 501 of file command-line.h.