The argument abstract base class. More...
Public Member Functions | |
| virtual | ~Item () | 
| Destructor.   | |
| virtual std::string | GetDefault () const =0 | 
| virtual bool | HasDefault () const | 
| virtual bool | Parse (const std::string &value) const =0 | 
| Parse from a string.   | |
Public Attributes | |
| std::string | m_help | 
| Argument help string.   | |
| std::string | m_name | 
Argument label: --m_name=...   | |
The argument abstract base class.
Definition at line 433 of file command-line.h.
      
  | 
  virtual | 
      
  | 
  pure virtual | 
Implemented in ns3::CommandLine::CallbackItem, ns3::CommandLine::CharStarItem, ns3::CommandLine::StringItem, and ns3::CommandLine::UserItem< T >.
      
  | 
  virtual | 
true if this item has a default value. Reimplemented in ns3::CommandLine::CallbackItem, ns3::CommandLine::CharStarItem, ns3::CommandLine::StringItem, and ns3::CommandLine::UserItem< T >.
Definition at line 833 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, ns3::CommandLine::CharStarItem, ns3::CommandLine::StringItem, and ns3::CommandLine::UserItem< T >.
| std::string ns3::CommandLine::Item::m_help | 
Argument help string.
Definition at line 437 of file command-line.h.
| std::string ns3::CommandLine::Item::m_name | 
Argument label: --m_name=... 
Definition at line 436 of file command-line.h.
Referenced by ns3::CommandLine::CharStarItem::Parse().