ARB
Classes | Public Member Functions | List of all members
GBL_command_lookup_table Class Reference

#include <gb_aci.h>

Inheritance diagram for GBL_command_lookup_table:
Inheritance graph
[legend]
Collaboration diagram for GBL_command_lookup_table:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 62 of file gb_aci.h.

Constructor & Destructor Documentation

GBL_command_lookup_table::GBL_command_lookup_table ( const GBL_command_definition table,
unsigned  size 
)

create table to lookup ACI commands

Parameters
tablecommand-table (has to exist as long as GBL_command_lookup_table exists; needs sentinel)
sizenumber 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().

virtual GBL_command_lookup_table::~GBL_command_lookup_table ( )
inlinevirtual

Definition at line 75 of file gb_aci.h.

Member Function Documentation

virtual GBL_COMMAND GBL_command_lookup_table::lookup ( const char identifier) const
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().


The documentation for this class was generated from the following files: