CommandParser::Nested Class Reference

Nested CommandParser Method implementation. More...

#include <CommandParser.h>

Inheritance diagram for CommandParser::Nested:
CommandParser::Method

Public Member Functions

 Nested (CommandParser *, const std::string &command, const std::string &help, char shortcut)
std::string execute (const std::string &command)
std::string detail () const

Protected Attributes

Reference::To< CommandParser, false > parser

Additional Inherited Members

Public Attributes inherited from CommandParser::Method
std::string command
 The command string corresponding to this method.
std::string help
 The help string for this method.
char shortcut
 The shortcut character corresponding to this method.

Detailed Description

Nested CommandParser Method implementation.

Member Function Documentation

◆ detail()

string CommandParser::Nested::detail ( ) const
virtual

Implements CommandParser::Method.

◆ execute()

string CommandParser::Nested::execute ( const std::string & command)
virtual

Implements CommandParser::Method.


The documentation for this class was generated from the following files:

Generated using doxygen 1.14.0