35#ifndef TTA_CUSTOM_COMMAND_HH  
   36#define TTA_CUSTOM_COMMAND_HH 
   69    virtual bool execute(
const std::vector<DataObject>& arguments) = 0;
 
 
InterpreterContext * context() const
 
bool checkArgumentCount(int argumentCount, int minimum, int maximum)
 
bool checkUnsignedIntegerArgument(const DataObject &argument)
 
std::string name_
The name of the command.
 
virtual bool execute(const std::vector< DataObject > &arguments)=0
 
CustomCommand & operator=(const CustomCommand &)
Assignment not allowed.
 
ScriptInterpreter * interpreter_
Interpreter for the command.
 
virtual std::string helpText() const =0
 
InterpreterContext * context_
Context of the command.
 
bool checkIntegerArgument(const DataObject &argument)
 
ScriptInterpreter * interpreter() const
 
bool checkPositiveIntegerArgument(const DataObject &argument)
 
void setContext(InterpreterContext *context)
 
void setInterpreter(ScriptInterpreter *si)
 
bool checkDoubleArgument(const DataObject &argument)