7 #ifndef __SHEPP_COMMAND_H__
8 #define __SHEPP_COMMAND_H__
13 typedef int isfunc_t (vector<string> &);
33 this->
function =
function;
41 this->
function =
function;
63 #endif //__SHEPP_COMMAND_H__
bool operator<(const SheppCommand &cmd) const
Operator necessary to create a set of SheppCommands.
Definition: SheppCommand.H:19
string brief
SheppCommand brief description.
Definition: SheppCommand.H:52
void reset(string name, isfunc_t *function, string brief)
Reinitializes all object attributes.
Definition: SheppCommand.H:38
SheppCommand class: command name, function and a brief description.
Definition: SheppCommand.H:16
void init()
Initializes all object attributes to empty.
Definition: SheppCommand.H:55
SheppCommand()
Constructor that initializes all object attributes to empty.
Definition: SheppCommand.H:24
string name
SheppCommand name.
Definition: SheppCommand.H:46
SheppCommand(string name, isfunc_t *function, string brief)
Constructor that sets all object attributes.
Definition: SheppCommand.H:30