The argument base class. More...
Inheritance diagram for ns3::CommandLine::Item:
Collaboration diagram for ns3::CommandLine::Item: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 307 of file command-line.h.
|
virtual |
|
virtual |
Reimplemented in ns3::CommandLine::UserItem< T >.
Definition at line 494 of file command-line.cc.
|
virtual |
Reimplemented in ns3::CommandLine::UserItem< T >.
Definition at line 488 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 311 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().
| std::string ns3::CommandLine::Item::m_name |
Argument label: ---m_name=...
Definition at line 310 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().