ARB
Classes | Typedefs | Functions | Variables
GBL_IMPL Namespace Reference

Classes

struct  gbl_param
 

Typedefs

typedef const char * String
 
typedef int bit
 
typedef unsigned int nat
 

Functions

void print_trace (const char *text)
 
GB_ERROR trace_params (const GBL_streams &param, gbl_param *ppara, const char *com)
 
static const char * search_matching_dquote (const char *str)
 
char * search_matching_dquote (char *str)
 
const char * search_matching_parenthesis (const char *source)
 
static const char * search_next_separator (const char *source, const char *seps)
 
char * search_next_separator (char *source, const char *seps)
 
char * search_matching_parenthesis (char *source)
 
void gbl_new_param (gbl_param **pp, GB_TYPES type, void *vaddr, const char *param_name, const char *help_text)
 
int gbl_param_int (const char *param_name, int def, const char *help_text, gbl_param **pp, int *vaddr)
 
char gbl_param_char (const char *param_name, char def, const char *help_text, gbl_param **pp, char *vaddr)
 
nat gbl_param_nat (const char *param_name, nat def, const char *help_text, gbl_param **pp, nat *vaddr)
 
const char * gbl_param_String (const char *param_name, const char *def, const char *help_text, gbl_param **pp, String *vaddr)
 
int gbl_param_bit (const char *param_name, int def, const char *help_text, gbl_param **pp, bit *vaddr)
 
void modify_trace_indent (int diff)
 
GB_ERROR check_no_parameter (GBL_command_arguments *args)
 
GB_ERROR check_has_parameters (GBL_command_arguments *args, const char *param_syntax)
 
GB_ERROR check_parameters (GBL_command_arguments *args, int expected, const char *parameterList)
 
GB_ERROR check_optional_parameters (GBL_command_arguments *args, int fix, const char *fixParam, int opt, const char *optParam, bool opt_trailing, bool opt_expect_all)
 
GB_ERROR check_valid_index (int number, const char *what, int min, int max)
 
GB_ERROR check_valid_stream_index (GBL_command_arguments *args, int number)
 
GB_ERROR check_valid_param_index (GBL_command_arguments *args, int number)
 
GB_ERROR check_item_referenced (GBL_command_arguments *args)
 

Variables

int traceACI = 0
 
int traceIndent = 0
 

Typedef Documentation

typedef const char* GBL_IMPL::String

Definition at line 59 of file gb_aci_impl.h.

typedef int GBL_IMPL::bit

Definition at line 60 of file gb_aci_impl.h.

typedef unsigned int GBL_IMPL::nat

Definition at line 61 of file gb_aci_impl.h.

Function Documentation

void GBL_IMPL::print_trace ( const char *  text)
GB_ERROR GBL_IMPL::trace_params ( const GBL_streams &  param,
gbl_param *  ppara,
const char *  com 
)
static const char* GBL_IMPL::search_matching_dquote ( const char *  str)
static

Definition at line 34 of file gb_aci.cxx.

References NULp.

Referenced by apply_ACI(), search_matching_dquote(), search_matching_parenthesis(), and search_next_separator().

char* GBL_IMPL::search_matching_dquote ( char *  str)
inline

Definition at line 46 of file gb_aci.cxx.

References search_matching_dquote().

const char * GBL_IMPL::search_matching_parenthesis ( const char *  source)
static const char* GBL_IMPL::search_next_separator ( const char *  source,
const char *  seps 
)
static
char* GBL_IMPL::search_next_separator ( char *  source,
const char *  seps 
)
inline

Definition at line 107 of file gb_aci.cxx.

References search_next_separator().

char* GBL_IMPL::search_matching_parenthesis ( char *  source)
inline

Definition at line 32 of file gb_aci_impl.h.

References search_matching_parenthesis().

void GBL_IMPL::gbl_new_param ( gbl_param **  pp,
GB_TYPES  type,
void *  vaddr,
const char *  param_name,
const char *  help_text 
)
inline
int GBL_IMPL::gbl_param_int ( const char *  param_name,
int  def,
const char *  help_text,
gbl_param **  pp,
int *  vaddr 
)
inline

Definition at line 63 of file gb_aci_impl.h.

References GB_INT, and gbl_new_param().

char GBL_IMPL::gbl_param_char ( const char *  param_name,
char  def,
const char *  help_text,
gbl_param **  pp,
char *  vaddr 
)
inline

Definition at line 68 of file gb_aci_impl.h.

References GB_BYTE, and gbl_new_param().

nat GBL_IMPL::gbl_param_nat ( const char *  param_name,
nat  def,
const char *  help_text,
gbl_param **  pp,
nat *  vaddr 
)
inline

Definition at line 73 of file gb_aci_impl.h.

References GB_INT, and gbl_new_param().

const char* GBL_IMPL::gbl_param_String ( const char *  param_name,
const char *  def,
const char *  help_text,
gbl_param **  pp,
String *  vaddr 
)
inline

Definition at line 78 of file gb_aci_impl.h.

References GB_STRING, and gbl_new_param().

int GBL_IMPL::gbl_param_bit ( const char *  param_name,
int  def,
const char *  help_text,
gbl_param **  pp,
bit *  vaddr 
)
inline

Definition at line 83 of file gb_aci_impl.h.

References GB_BIT, and gbl_new_param().

void GBL_IMPL::modify_trace_indent ( int  diff)
inline

Definition at line 147 of file gb_aci_impl.h.

References diff(), and gb_assert.

Referenced by GB_command_interpreter_in_env().

GB_ERROR GBL_IMPL::check_no_parameter ( GBL_command_arguments *  args)
inline
GB_ERROR GBL_IMPL::check_has_parameters ( GBL_command_arguments *  args,
const char *  param_syntax 
)
inline
GB_ERROR GBL_IMPL::check_parameters ( GBL_command_arguments *  args,
int  expected,
const char *  parameterList 
)
inline
GB_ERROR GBL_IMPL::check_optional_parameters ( GBL_command_arguments *  args,
int  fix,
const char *  fixParam,
int  opt,
const char *  optParam,
bool  opt_trailing,
bool  opt_expect_all 
)
inline
GB_ERROR GBL_IMPL::check_valid_index ( int  number,
const char *  what,
int  min,
int  max 
)
inline

Definition at line 181 of file gb_aci_impl.h.

References GBS_global_string(), and NULp.

Referenced by check_valid_param_index(), and check_valid_stream_index().

GB_ERROR GBL_IMPL::check_valid_stream_index ( GBL_command_arguments *  args,
int  number 
)
inline

Definition at line 185 of file gb_aci_impl.h.

References check_valid_index(), GBL_command_arguments::input, and GBL_streams::size().

Referenced by gbl_drop().

GB_ERROR GBL_IMPL::check_valid_param_index ( GBL_command_arguments *  args,
int  number 
)
inline

Definition at line 186 of file gb_aci_impl.h.

References check_valid_index(), and GBL_command_arguments::param_count().

Referenced by gbl_select().

GB_ERROR GBL_IMPL::check_item_referenced ( GBL_command_arguments *  args)
inline

Variable Documentation

int GBL_IMPL::traceACI = 0
int GBL_IMPL::traceIndent = 0

Definition at line 45 of file adlang1.cxx.

Referenced by apply_ACI(), dumpStreams(), GBS_string_eval_in_env(), and print_trace().