The argument base class. More...
Public Member Functions | |
virtual | ~Item () |
Destructor. More... | |
virtual std::string | GetDefault () const |
virtual bool | HasDefault () const |
virtual bool | Parse (const std::string value)=0 |
Parse from a string. More... | |
Public Attributes | |
std::string | m_help |
Argument help string. More... | |
std::string | m_name |
Argument label: ---m_name= ... More... | |
The argument base class.
Definition at line 255 of file command-line.h.
|
virtual |
|
virtual |
Reimplemented in ns3::CommandLine::UserItem< T >.
Definition at line 415 of file command-line.cc.
|
virtual |
Reimplemented in ns3::CommandLine::UserItem< T >.
Definition at line 409 of file command-line.cc.
|
pure virtual |
Parse from a string.
value | the string representation |
Implemented in ns3::CommandLine::CallbackItem, and ns3::CommandLine::UserItem< T >.
std::string ns3::CommandLine::Item::m_help |
Argument help string.
Definition at line 259 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().
std::string ns3::CommandLine::Item::m_name |
Argument label: ---m_name=
...
Definition at line 258 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().