Public Member Functions | |
std::string | GetDefault (void) const |
bool | HasDefault (void) const |
bool | Parse (const std::string value) |
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... | |
Definition at line 412 of file command-line.h.
|
virtual |
Reimplemented from ns3::CommandLine::Item.
Definition at line 655 of file command-line.cc.
|
virtual |
true
if this item has a default value. Reimplemented from ns3::CommandLine::Item.
Definition at line 649 of file command-line.cc.
|
virtual |
Parse from a string.
[in] | value | The string representation |
true
if parsing the value succeeded Implements ns3::CommandLine::Item.
Definition at line 642 of file command-line.cc.
std::string ns3::CommandLine::StringItem::m_value |
The argument value.
Definition at line 420 of file command-line.h.
Referenced by ns3::CommandLine::GetExtraNonOption().