#include <StatParser.h>
Public Types | |
typedef _symrec< data_type > | symrec |
typedef std::vector< symrec * > | symvec |
Public Member Functions | |
StatParser () | |
~StatParser () | |
void | dump_all () |
symrec * | putsym (int sym_type, char const *sym_name) |
int | parse (char const *fname) |
int | parser_exec () |
void | parser_activate_exec () |
void | parser_deactivate_exec () |
symrec * | getsym (char const *sym_name) |
int | addgroup (void) |
int | group_step (int) |
int | group_add_probe (int probe_type, stat_uop &options) |
int | group_add_keys (void) |
int | searchtoken (int tok) |
int | searchtoken (char const *psz) |
int | counttoken (int tok) |
symrec * | addsym (int sym_type, char const *sym_name=NULL) |
Protected Types | |
typedef std::vector< probe * > | provec |
typedef std::vector< group * > | grpvec |
Protected Member Functions | |
void | dump_token (symrec *ptr, symrec *ptr_org) |
void | dump_sym (symvec &list) |
void | dump_probe (provec &list) |
char * | token (int tok) |
int | delprobe (probe *ptr) |
int | delgroup (group *ptr) |
int | clearsym (symvec &table) |
int | cleargroup (grpvec &table) |
int | clearprobe (provec &list) |
int | evalstack (symvec &stack, point_type &xc) |
symrec * | clonestack (symvec &stack) |
void | unlinksym (symrec *ptr) |
int | buildcoords (probe *ptr) |
int | clearcoords (probe *ptr) |
symrec * | allocsym (char const *sym_name) |
int | freesym (symrec *ptr) |
int | vectorize (symrec *ptr, int Npoints) |
int | unvectorize (symrec *ptr) |
Protected Attributes | |
symvec | sym_table |
grpvec | group_table |
symvec | sym_stack |
Classes | |
struct | group |
struct | probe |
typedef std::vector<group*> StatParser< point_type, data_type, dim >::grpvec [protected] |
typedef std::vector<probe*> StatParser< point_type, data_type, dim >::provec [protected] |
typedef _symrec<data_type> StatParser< point_type, data_type, dim >::symrec |
typedef std::vector<symrec*> StatParser< point_type, data_type, dim >::symvec |
StatParser< point_type, data_type, dim >::StatParser | ( | ) |
StatParser< point_type, data_type, dim >::~StatParser | ( | ) |
int StatParser< point_type, data_type, dim >::addgroup | ( | void | ) |
symrec* StatParser< point_type, data_type, dim >::addsym | ( | int | sym_type, | |
char const * | sym_name = NULL | |||
) |
symrec* StatParser< point_type, data_type, dim >::allocsym | ( | char const * | sym_name | ) | [protected] |
int StatParser< point_type, data_type, dim >::buildcoords | ( | probe * | ptr | ) | [protected] |
int StatParser< point_type, data_type, dim >::clearcoords | ( | probe * | ptr | ) | [protected] |
int StatParser< point_type, data_type, dim >::cleargroup | ( | grpvec & | table | ) | [protected] |
int StatParser< point_type, data_type, dim >::clearprobe | ( | provec & | list | ) | [protected] |
int StatParser< point_type, data_type, dim >::clearsym | ( | symvec & | table | ) | [protected] |
symrec* StatParser< point_type, data_type, dim >::clonestack | ( | symvec & | stack | ) | [protected] |
int StatParser< point_type, data_type, dim >::counttoken | ( | int | tok | ) |
int StatParser< point_type, data_type, dim >::delgroup | ( | group * | ptr | ) | [protected] |
int StatParser< point_type, data_type, dim >::delprobe | ( | probe * | ptr | ) | [protected] |
void StatParser< point_type, data_type, dim >::dump_all | ( | ) |
void StatParser< point_type, data_type, dim >::dump_probe | ( | provec & | list | ) | [protected] |
void StatParser< point_type, data_type, dim >::dump_sym | ( | symvec & | list | ) | [protected] |
void StatParser< point_type, data_type, dim >::dump_token | ( | symrec * | ptr, | |
symrec * | ptr_org | |||
) | [protected] |
int StatParser< point_type, data_type, dim >::evalstack | ( | symvec & | stack, | |
point_type & | xc | |||
) | [protected] |
int StatParser< point_type, data_type, dim >::freesym | ( | symrec * | ptr | ) | [protected] |
symrec* StatParser< point_type, data_type, dim >::getsym | ( | char const * | sym_name | ) |
int StatParser< point_type, data_type, dim >::group_add_keys | ( | void | ) |
int StatParser< point_type, data_type, dim >::group_add_probe | ( | int | probe_type, | |
stat_uop & | options | |||
) |
int StatParser< point_type, data_type, dim >::group_step | ( | int | ) |
int StatParser< point_type, data_type, dim >::parse | ( | char const * | fname | ) |
void StatParser< point_type, data_type, dim >::parser_activate_exec | ( | ) | [inline] |
void StatParser< point_type, data_type, dim >::parser_deactivate_exec | ( | ) | [inline] |
int StatParser< point_type, data_type, dim >::parser_exec | ( | ) | [inline] |
symrec* StatParser< point_type, data_type, dim >::putsym | ( | int | sym_type, | |
char const * | sym_name | |||
) |
int StatParser< point_type, data_type, dim >::searchtoken | ( | char const * | psz | ) |
int StatParser< point_type, data_type, dim >::searchtoken | ( | int | tok | ) |
char* StatParser< point_type, data_type, dim >::token | ( | int | tok | ) | [protected] |
void StatParser< point_type, data_type, dim >::unlinksym | ( | symrec * | ptr | ) | [protected] |
int StatParser< point_type, data_type, dim >::unvectorize | ( | symrec * | ptr | ) | [protected] |
int StatParser< point_type, data_type, dim >::vectorize | ( | symrec * | ptr, | |
int | Npoints | |||
) | [protected] |
grpvec StatParser< point_type, data_type, dim >::group_table [protected] |
symvec StatParser< point_type, data_type, dim >::sym_stack [protected] |
symvec StatParser< point_type, data_type, dim >::sym_table [protected] |