ARB
|
#include <gb_aci.h>
Public Member Functions | |
GBL_command_lookup_table (const GBL_command_definition *table, unsigned size) | |
virtual | ~GBL_command_lookup_table () |
virtual GBL_COMMAND | lookup (const char *identifier) const |
GBL_command_lookup_table::GBL_command_lookup_table | ( | const GBL_command_definition * | table, |
unsigned | size | ||
) |
create table to lookup ACI commands
table | command-table (has to exist as long as GBL_command_lookup_table exists; needs sentinel) |
size | number of commands in 'table' ( = size of 'table' - 1) |
Definition at line 18 of file gb_aci.cxx.
References GBL_command_definition::function, gb_assert, GBL_command_definition::identifier, and GBL_command_definition::is_defined().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in GBL_custom_command_lookup_table.
Definition at line 77 of file gb_aci.h.
References NULp.
Referenced by GBL_custom_command_lookup_table::lookup(), and GBL_env::lookup_command().