Extension of Item for char*.
More...
Inheritance diagram for ns3::CommandLine::CharStarItem:
Collaboration diagram for ns3::CommandLine::CharStarItem: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 | |
| char * | m_buffer |
| The buffer to write in to. | |
| std::string | m_default |
| The default value. | |
| std::size_t | m_size |
| The size of the buffer, including terminating null. | |
Public Attributes inherited from ns3::CommandLine::Item | |
| std::string | m_help |
| Argument help string. | |
| std::string | m_name |
Argument label: --m_name=... | |
Extension of Item for char*.
Definition at line 497 of file command-line.h.
|
overridevirtual |
Implements ns3::CommandLine::Item.
Definition at line 879 of file command-line.cc.
|
overridevirtual |
true if this item has a default value. Reimplemented from ns3::CommandLine::Item.
Definition at line 873 of file command-line.cc.
|
overridevirtual |
Parse from a string.
| [in] | value | The string representation |
true if parsing the value succeeded Implements ns3::CommandLine::Item.
Definition at line 858 of file command-line.cc.
References ns3::value().
Here is the call graph for this function:| char* ns3::CommandLine::CharStarItem::m_buffer |
The buffer to write in to.
Definition at line 506 of file command-line.h.
| std::string ns3::CommandLine::CharStarItem::m_default |
The default value.
Definition at line 510 of file command-line.h.
| std::size_t ns3::CommandLine::CharStarItem::m_size |
The size of the buffer, including terminating null.
Definition at line 508 of file command-line.h.