An argument Item assigning to POD. More...
Inheritance diagram for ns3::CommandLine::UserItem< T >:
Collaboration diagram for ns3::CommandLine::UserItem< T >:Public Member Functions | |
| std::string | GetDefault () const |
| bool | HasDefault () const |
| virtual bool | Parse (const std::string value) |
Public Member Functions inherited from ns3::CommandLine::Item | |
| virtual | ~Item () |
Public Attributes | |
| std::string | m_default |
| T * | m_valuePtr |
Public Attributes inherited from ns3::CommandLine::Item | |
| std::string | m_help |
| std::string | m_name |
An argument Item assigning to POD.
Definition at line 283 of file command-line.h.
|
virtual |
Reimplemented from ns3::CommandLine::Item.
Definition at line 434 of file command-line.h.
|
virtual |
Reimplemented from ns3::CommandLine::Item.
Definition at line 427 of file command-line.h.
|
virtual |
Parse from a string.
| value | the string representation |
Implements ns3::CommandLine::Item.
Definition at line 451 of file command-line.h.
| std::string ns3::CommandLine::UserItem< T >::m_default |
String representation of default value
Definition at line 298 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().
| T* ns3::CommandLine::UserItem< T >::m_valuePtr |
Pointer to the POD location
Definition at line 297 of file command-line.h.
Referenced by ns3::CommandLine::AddValue().