An argument Item assigning to POD. More...
Public Member Functions | |
std::string | GetDefault () const |
bool | HasDefault () const |
virtual 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_default |
String representation of default value. More... | |
T * | m_valuePtr |
Pointer to the POD location. 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... | |
An argument Item assigning to POD.
Definition at line 453 of file command-line.h.
|
virtual |
Implements ns3::CommandLine::Item.
Definition at line 714 of file command-line.h.
|
virtual |
true
if this item has a default value. Reimplemented from ns3::CommandLine::Item.
Definition at line 707 of file command-line.h.
|
virtual |
Parse from a string.
[in] | value | The string representation |
true
if parsing the value succeeded Implements ns3::CommandLine::Item.
Definition at line 730 of file command-line.h.
std::string ns3::CommandLine::UserItem< T >::m_default |
String representation of default value.
Definition at line 462 of file command-line.h.
Referenced by ns3::CommandLine::AddNonOption(), and ns3::CommandLine::AddValue().
T* ns3::CommandLine::UserItem< T >::m_valuePtr |
Pointer to the POD location.
Definition at line 461 of file command-line.h.
Referenced by ns3::CommandLine::AddNonOption(), and ns3::CommandLine::AddValue().