MultipleCommandZeroArguments Class Reference
This class represents a command with zero arguments which can be called multiple times in a given commandline. More...
#include <multiplecommand.h>
Inheritance diagram for MultipleCommandZeroArguments:
Public Member Functions | |
| MultipleCommandZeroArguments (std::vector< bool > *ptr, const std::string &name, const std::string &shortName="", const std::string &infoText="") | |
| bool | execute (const std::vector< std::string > &) |
| Executes this command with the given parameters. | |
Protected Attributes | |
| std::vector< bool > * | ptr_ |
Detailed Description
This class represents a command with zero arguments which can be called multiple times in a given commandline.
The pointer will be set to "true", if the command is executed The template must be usable within a stringstream (necessary for conversion)
- See also:
- MultipleCommand
Definition at line 125 of file multiplecommand.h.
Member Function Documentation
| bool execute | ( | const std::vector< std::string > & | parameters | ) | [inline, virtual] |
Executes this command with the given parameters.
- Parameters:
-
parameters The parameters needed for the execution of this command.
- Returns:
- true, if the execution was successful, false otherwise
Implements Command.
Definition at line 133 of file multiplecommand.h.