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 318 of file command-line.h.
|
virtual |
|
virtual |
Reimplemented in ns3::CommandLine::UserItem< T >.
Definition at line 506 of file command-line.cc.
|
virtual |
true if this item have a default value? Reimplemented in ns3::CommandLine::UserItem< T >.
Definition at line 500 of file command-line.cc.
|
pure virtual |
Parse from a string.
| [in] | value | The string representation |
true if parsing the value succeeded Implemented in ns3::CommandLine::CallbackItem, and ns3::CommandLine::UserItem< T >.
| std::string ns3::CommandLine::Item::m_help |
Argument help string.
Definition at line 322 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().
| std::string ns3::CommandLine::Item::m_name |
Argument label: ---m_name=...
Definition at line 321 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().