#include <CommandBinding.h>
Public Member Functions | |
CommandBinding (const char *alias, const CommandObject< T > &command) | |
Constructs a new CommandBinding with the specified alias to the specified CommandObject. | |
~CommandBinding () | |
Destructor, a noop. | |
const CommandObject < T > & | getCommand () const |
Returns the command associated with this binding. | |
bool | fullName () const |
Whether the binding should only allow full matches. | |
Public Attributes | |
const char * | m_alias |
The alias associated with this binding. |
Definition at line 36 of file CommandBinding.h.
CommandBinding< T >::CommandBinding | ( | const char * | alias, | |
const CommandObject< T > & | command | |||
) | [inline] |
Constructs a new CommandBinding with the specified alias to the specified CommandObject.
Definition at line 59 of file CommandBinding.h.
CommandBinding< T >::~CommandBinding | ( | ) | [inline] |
const CommandObject< T > & CommandBinding< T >::getCommand | ( | ) | const [inline] |
bool CommandBinding< T >::fullName | ( | ) | const [inline] |
const char* CommandBinding< T >::m_alias |
The alias associated with this binding.
Public to optimize the binary search for speed.
Definition at line 52 of file CommandBinding.h.