amroc/weno/StatParser/StatParser.h File Reference

Generic base class for parsing and assembling the statistics module. More...

#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <vector>
#include <sstream>
#include "StatParser_parser.c"
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <cassert>

Go to the source code of this file.

Classes

struct  stat_thread
struct  stat_surface
struct  stat_plane
union  stat_uop
class  _symrec< data_type >
class  StatParser
struct  StatParser::probe
struct  StatParser::group

Defines

#define FALSE   0
#define RETURN_OK   0
#define RETURN_ERROR   -1
#define STAT_COORD_A   "a"
#define STAT_COORD_B   "b"
#define STAT_COORD_X   "x"
#define STAT_COORD_Y   "y"
#define STAT_COORD_Z   "z"
#define STAT_XMIN   "xmin"
#define STAT_XMAX   "xmax"
#define STAT_YMIN   "ymin"
#define STAT_YMAX   "ymax"
#define STAT_ZMIN   "zmin"
#define STAT_ZMAX   "zmax"
#define STAT_NX   "nx"
#define STAT_NY   "ny"
#define STAT_NZ   "nz"
#define STAT_NXF   "nxfine"
#define STAT_NYF   "nyfine"
#define STAT_NZF   "nzfine"
#define STAT_RAW   0
#define STAT_AVERAGED   1
#define STAT_PRIMITIVE   0
#define STAT_DERIVED   1
#define YYPARSE_TEMPLATE_DEF   template<class point_type, class data_type, int dim>
#define YYPARSE_PARAM_TYPE   StatParser<point_type,data_type,dim>
#define YYPARSE_PARAM   parg
#define YYLEX_PARAM   parg

Typedefs

typedef double(* func_t1 )(double)
typedef double(* func_t2 )(double, double)

Functions

void staterror (char const *msg)
void staterror (char const *msg, int l, int c)
void stat_parser_set_debug (void)
void stat_scanner_set_debug (void)

Detailed Description

Generic base class for parsing and assembling the statistics module.

Author:
Carlos Pantano
Version:
1.0
Date:
Nov-2005

Define Documentation

#define FALSE   0
#define RETURN_ERROR   -1

Referenced by while(), and yyparse().

#define RETURN_OK   0
#define STAT_AVERAGED   1

Referenced by yyparse().

#define STAT_COORD_A   "a"

Referenced by yyparse().

#define STAT_COORD_B   "b"

Referenced by yyparse().

#define STAT_COORD_X   "x"

Referenced by yyparse().

#define STAT_COORD_Y   "y"

Referenced by yyparse().

#define STAT_COORD_Z   "z"

Referenced by yyparse().

#define STAT_DERIVED   1
#define STAT_NX   "nx"

Referenced by main().

#define STAT_NXF   "nxfine"

Referenced by coord2dir(), and main().

#define STAT_NY   "ny"

Referenced by main().

#define STAT_NYF   "nyfine"

Referenced by coord2dir(), and main().

#define STAT_NZ   "nz"

Referenced by main().

#define STAT_NZF   "nzfine"

Referenced by coord2dir(), and main().

#define STAT_PRIMITIVE   0
#define STAT_RAW   0

Referenced by yyparse().

#define STAT_XMAX   "xmax"

Referenced by coord2dir(), main(), and yyparse().

#define STAT_XMIN   "xmin"

Referenced by coord2dir(), main(), and yyparse().

#define STAT_YMAX   "ymax"

Referenced by coord2dir(), main(), and yyparse().

#define STAT_YMIN   "ymin"

Referenced by coord2dir(), main(), and yyparse().

#define STAT_ZMAX   "zmax"

Referenced by coord2dir(), main(), and yyparse().

#define STAT_ZMIN   "zmin"

Referenced by coord2dir(), main(), and yyparse().

#define YYLEX_PARAM   parg

Referenced by while().

#define YYPARSE_PARAM   parg
#define YYPARSE_PARAM_TYPE   StatParser<point_type,data_type,dim>
#define YYPARSE_TEMPLATE_DEF   template<class point_type, class data_type, int dim>

Typedef Documentation

typedef double(* func_t1)(double)
typedef double(* func_t2)(double, double)

Function Documentation

void stat_parser_set_debug ( void   ) 

Referenced by main().

void stat_scanner_set_debug ( void   ) 
void staterror ( char const *  msg,
int  l,
int  c 
)
void staterror ( char const *  msg  )