1 #ifndef COPYCOMPONENTCOMMAND_H 2 #define COPYCOMPONENTCOMMAND_H 52 virtual bool Execute(
GXemul& gxemul,
const vector<string>& arguments);
61 static void RunUnitTests(
int& nSucceeded,
int& nFailures);
65 #endif // COPYCOMPONENTCOMMAND_H CopyComponentCommand()
Constructs a CopyComponentCommand.
virtual string GetShortDescription() const
Returns a short (one-line) description of the command.
virtual bool Execute(GXemul &gxemul, const vector< string > &arguments)
Executes the command on a given GXemul instance.
virtual ~CopyComponentCommand()
A Command which copies (clones) a Component from one location to another in the component tree...
static void RunUnitTests(int &nSucceeded, int &nFailures)
virtual string GetLongDescription() const
Returns a long description/help message for the command.
A Command is a named function, executed by the CommandInterpreter.