StatParser Class Reference

#include <StatParser.h>

List of all members.

Classes

struct  group
struct  probe

Public Types

typedef _symrec< data_type > symrec
typedef std::vector< symrec * > symvec

Public Member Functions

 StatParser ()
 ~StatParser ()
void dump_all ()
symrecputsym (int sym_type, char const *sym_name)
int parse (char const *fname)
int parser_exec ()
void parser_activate_exec ()
void parser_deactivate_exec ()
symrecgetsym (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)
symrecaddsym (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)
const 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)
symrecclonestack (symvec &stack)
void unlinksym (symrec *ptr)
int buildcoords (probe *ptr)
int clearcoords (probe *ptr)
symrecallocsym (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

Member Typedef Documentation

typedef std::vector<group*> StatParser::grpvec [protected]
typedef std::vector<probe*> StatParser::provec [protected]
typedef _symrec<data_type> StatParser::symrec
typedef std::vector<symrec*> StatParser::symvec

Constructor & Destructor Documentation

StatParser::StatParser (  ) 
StatParser::~StatParser (  ) 

Member Function Documentation

int StatParser::addgroup ( void   ) 
symrec* StatParser::addsym ( int  sym_type,
char const *  sym_name = NULL 
)
symrec* StatParser::allocsym ( char const *  sym_name  )  [protected]
int StatParser::buildcoords ( probe ptr  )  [protected]
int StatParser::clearcoords ( probe ptr  )  [protected]
int StatParser::cleargroup ( grpvec table  )  [protected]
int StatParser::clearprobe ( provec list  )  [protected]
int StatParser::clearsym ( symvec table  )  [protected]
symrec* StatParser::clonestack ( symvec stack  )  [protected]
int StatParser::counttoken ( int  tok  ) 
int StatParser::delgroup ( group ptr  )  [protected]
int StatParser::delprobe ( probe ptr  )  [protected]
void StatParser::dump_all (  ) 

Referenced by main().

void StatParser::dump_probe ( provec list  )  [protected]
void StatParser::dump_sym ( symvec list  )  [protected]
void StatParser::dump_token ( symrec ptr,
symrec ptr_org 
) [protected]
int StatParser::evalstack ( symvec stack,
point_type &  xc 
) [protected]
int StatParser::freesym ( symrec ptr  )  [protected]
symrec* StatParser::getsym ( char const *  sym_name  ) 
int StatParser::group_add_keys ( void   ) 
int StatParser::group_add_probe ( int  probe_type,
stat_uop options 
)
int StatParser::group_step ( int   ) 
int StatParser::parse ( char const *  fname  ) 

Referenced by main().

void StatParser::parser_activate_exec (  )  [inline]
void StatParser::parser_deactivate_exec (  )  [inline]
int StatParser::parser_exec (  )  [inline]
symrec* StatParser::putsym ( int  sym_type,
char const *  sym_name 
)

Referenced by main().

int StatParser::searchtoken ( char const *  psz  ) 
int StatParser::searchtoken ( int  tok  ) 
const char* StatParser::token ( int  tok  )  [protected]
void StatParser::unlinksym ( symrec ptr  )  [protected]
int StatParser::unvectorize ( symrec ptr  )  [protected]
int StatParser::vectorize ( symrec ptr,
int  Npoints 
) [protected]

Member Data Documentation


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