An argument Item assigning to POD. More...
Public Member Functions | |
| std::string | GetDefault () const override | 
| bool | HasDefault () const override | 
| bool | Parse (const std::string &value) const override | 
| Parse from a string.   | |
| Public Member Functions inherited from ns3::CommandLine::Item | |
| virtual | ~Item () | 
| Destructor.   | |
Public Attributes | |
| std::string | m_default | 
| String representation of default value.   | |
| T * | m_valuePtr | 
| Pointer to the POD location.   | |
| Public Attributes inherited from ns3::CommandLine::Item | |
| std::string | m_help | 
| Argument help string.   | |
| std::string | m_name | 
Argument label: --m_name=...   | |
An argument Item assigning to POD.
Definition at line 463 of file command-line.h.
      
  | 
  overridevirtual | 
Implements ns3::CommandLine::Item.
Definition at line 786 of file command-line.h.
References ns3::CommandLineHelper::GetDefault(), and m_default.
      
  | 
  overridevirtual | 
true if this item has a default value. Reimplemented from ns3::CommandLine::Item.
Definition at line 779 of file command-line.h.
References m_default.
      
  | 
  overridevirtual | 
Parse from a string.
| [in] | value | The string representation | 
true if parsing the value succeeded Implements ns3::CommandLine::Item.
Definition at line 800 of file command-line.h.
References m_valuePtr, and ns3::CommandLineHelper::UserItemParse().
| std::string ns3::CommandLine::UserItem< T >::m_default | 
String representation of default value.
Definition at line 472 of file command-line.h.
Referenced by GetDefault(), and HasDefault().
| T* ns3::CommandLine::UserItem< T >::m_valuePtr |