ARB
Classes | Macros | Functions | Variables
arb_primer.cxx File Reference
#include <arbdbt.h>
#include <arb_strarray.h>
Include dependency graph for arb_primer.cxx:

Go to the source code of this file.

Classes

struct  arb_prm_struct
 

Macros

#define ADD_LEN   10
 
#define PRM_BUFFERSIZE   256
 
#define is_base(c)   (((c>='a') && (c<='z')) || ((c>='A')&&(c<='Z')))
 

Functions

int getNumFromStdin ()
 
static GB_ERROR arb_prm_menu ()
 
static GB_ERROR arb_prm_read (int)
 
static void arb_count_keys (const char *, long val, void *)
 
static void arb_print_primer (const char *key, long val, void *)
 
static int primer_print (char *dest, char *source, int size)
 
static long arb_reduce_primer_len (const char *key, long val, void *cl_hash)
 
static void arb_prm_primer (int)
 
int ARB_main (int argc, char *argv[])
 

Variables

static arb_prm_struct aprm
 

Macro Definition Documentation

#define ADD_LEN   10

Definition at line 14 of file arb_primer.cxx.

Referenced by arb_prm_menu(), and arb_prm_primer().

#define PRM_BUFFERSIZE   256

Definition at line 15 of file arb_primer.cxx.

Referenced by arb_prm_menu(), and getNumFromStdin().

#define is_base (   c)    (((c>='a') && (c<='z')) || ((c>='A')&&(c<='Z')))

Definition at line 209 of file arb_primer.cxx.

Referenced by primer_print().

Function Documentation

int getNumFromStdin ( )
inline

Definition at line 65 of file arb_primer.cxx.

References arb_prm_struct::buffer, and PRM_BUFFERSIZE.

Referenced by arb_prm_menu().

static GB_ERROR arb_prm_menu ( )
static
static GB_ERROR arb_prm_read ( int  )
static
static void arb_count_keys ( const char ,
long  val,
void *   
)
static

Definition at line 188 of file arb_primer.cxx.

References arb_prm_struct::key_cnt, and arb_prm_struct::one_key_cnt.

Referenced by arb_prm_primer().

static void arb_print_primer ( const char key,
long  val,
void *   
)
static

Definition at line 197 of file arb_primer.cxx.

References arb_prm_struct::out.

Referenced by arb_prm_primer().

static int primer_print ( char dest,
char source,
int  size 
)
static

Definition at line 211 of file arb_primer.cxx.

References is_base.

Referenced by arb_prm_primer().

static long arb_reduce_primer_len ( const char key,
long  val,
void *  cl_hash 
)
static

Definition at line 231 of file arb_primer.cxx.

References arb_assert, buffer, GBS_read_hash(), GBS_write_hash(), and arb_prm_struct::reduce.

Referenced by arb_prm_primer().

static void arb_prm_primer ( int  )
static
int ARB_main ( int  argc,
char argv[] 
)

Variable Documentation

arb_prm_struct aprm
static

Definition at line 63 of file arb_primer.cxx.