ARB
Classes | Macros | Typedefs | Functions | Variables
adperl.cxx File Reference
#include "gb_local.h"
#include "adperl.h"
Include dependency graph for adperl.cxx:

Go to the source code of this file.

Classes

union  known_enum
 

Macros

#define ILLEGAL_VALUE   (-666)
 

Typedefs

typedef const char *(* enum2string )(known_enum enumValue)
 

Functions

static void die (const char *with_last_words)
 
static known_enum next_known_enum_value (known_enum greaterThan, enum2string lookup)
 
static known_enum first_known_enum_value (known_enum greaterEqualThan, enum2string lookup)
 
static known_enum string2enum (const char *string, enum2string lookup, known_enum start)
 
static charbuildAllowedValuesString (known_enum start, enum2string lookup)
 
static known_enum string2enum_or_die (const char *enum_name, const char *string, enum2string lookup, known_enum start)
 
const charGBP_GB_SEARCH_TYPE_2_charPtr (GB_SEARCH_TYPE search_type)
 
GB_SEARCH_TYPE GBP_charPtr_2_GB_SEARCH_TYPE (const char *search_mode)
 
const charGBP_GB_TYPES_2_charPtr (GB_TYPES type)
 
GB_TYPES GBP_charPtr_2_GB_TYPES (const char *type_name)
 
const charGBP_GB_UNDO_TYPE_2_charPtr (GB_UNDO_TYPE undo_type)
 
GB_UNDO_TYPE GBP_charPtr_2_GB_UNDO_TYPE (const char *undo_type)
 
const charGBP_GB_CASE_2_charPtr (GB_CASE sensitivity)
 
GB_CASE GBP_charPtr_2_GB_CASE (const char *sensitivity)
 
const charGBP_GB_alignment_type_2_charPtr (GB_alignment_type ali_type)
 
GB_alignment_type GBP_charPtr_2_GB_alignment_type (const char *ali_type)
 
GB_ERROR GBC_await_error ()
 
void GBP_prepare_to_die ()
 

Variables

void(* GBP_croak_function )(const char *message) = NULp
 

Macro Definition Documentation

#define ILLEGAL_VALUE   (-666)

Typedef Documentation

typedef const char*(* enum2string)(known_enum enumValue)

Definition at line 50 of file adperl.cxx.

Function Documentation

static void die ( const char with_last_words)
static

Definition at line 18 of file adperl.cxx.

References fputs(), GBK_terminate(), and GBP_croak_function.

Referenced by string2enum_or_die().

static known_enum next_known_enum_value ( known_enum  greaterThan,
enum2string  lookup 
)
static

Definition at line 52 of file adperl.cxx.

References known_enum::as_int, and ILLEGAL_VALUE.

Referenced by buildAllowedValuesString(), first_known_enum_value(), and string2enum().

static known_enum first_known_enum_value ( known_enum  greaterEqualThan,
enum2string  lookup 
)
static

Definition at line 68 of file adperl.cxx.

References next_known_enum_value().

Referenced by buildAllowedValuesString(), and string2enum().

static known_enum string2enum ( const char string,
enum2string  lookup,
known_enum  start 
)
static
static char* buildAllowedValuesString ( known_enum  start,
enum2string  lookup 
)
static
static known_enum string2enum_or_die ( const char enum_name,
const char string,
enum2string  lookup,
known_enum  start 
)
static
const char* GBP_GB_SEARCH_TYPE_2_charPtr ( GB_SEARCH_TYPE  search_type)
GB_SEARCH_TYPE GBP_charPtr_2_GB_SEARCH_TYPE ( const char search_mode)
const char* GBP_GB_TYPES_2_charPtr ( GB_TYPES  type)

Definition at line 156 of file adperl.cxx.

References GB_BIT, GB_BITS, GB_BYTE, GB_BYTES, GB_DB, GB_FLOAT, GB_FLOATS, GB_INT, GB_INTS, GB_NONE, GB_STRING, and NULp.

Referenced by GBP_charPtr_2_GB_TYPES().

GB_TYPES GBP_charPtr_2_GB_TYPES ( const char type_name)
const char* GBP_GB_UNDO_TYPE_2_charPtr ( GB_UNDO_TYPE  undo_type)

Definition at line 185 of file adperl.cxx.

References GB_UNDO_KILL, GB_UNDO_NONE, GB_UNDO_REDO, GB_UNDO_UNDO, GB_UNDO_UNDO_REDO, and NULp.

Referenced by GBP_charPtr_2_GB_UNDO_TYPE().

GB_UNDO_TYPE GBP_charPtr_2_GB_UNDO_TYPE ( const char undo_type)
const char* GBP_GB_CASE_2_charPtr ( GB_CASE  sensitivity)

Definition at line 208 of file adperl.cxx.

References GB_CASE_UNDEFINED, GB_IGNORE_CASE, GB_MIND_CASE, and NULp.

Referenced by GBP_charPtr_2_GB_CASE().

GB_CASE GBP_charPtr_2_GB_CASE ( const char sensitivity)
const char* GBP_GB_alignment_type_2_charPtr ( GB_alignment_type  ali_type)

Definition at line 226 of file adperl.cxx.

References GB_AT_AA, GB_AT_DNA, GB_AT_RNA, GB_AT_UNKNOWN, and NULp.

Referenced by GBP_charPtr_2_GB_alignment_type().

GB_alignment_type GBP_charPtr_2_GB_alignment_type ( const char ali_type)
GB_ERROR GBC_await_error ( void  )

Definition at line 249 of file adperl.cxx.

References GB_await_error().

void GBP_prepare_to_die ( void  )

Definition at line 256 of file adperl.cxx.

References gb_abort_and_close_all_DBs().

Variable Documentation

void(* GBP_croak_function)(const char *message) = NULp

Definition at line 16 of file adperl.cxx.

Referenced by ARB_init_perl_interface::ARB_init_perl_interface(), and die().