vtf-logo

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 "StatParser_parser.c"
#include "StatParser_scanner.c"
#include "StatParser.ipp"

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< point_type, data_type, dim >
struct  StatParser< point_type, data_type, dim >::probe
struct  StatParser< point_type, data_type, dim >::group

Defines

#define TRUE   1
#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

#define RETURN_OK   0

#define STAT_AVERAGED   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_DERIVED   1

#define STAT_NX   "nx"

#define STAT_NXF   "nxfine"

#define STAT_NY   "ny"

#define STAT_NYF   "nyfine"

#define STAT_NZ   "nz"

#define STAT_NZF   "nzfine"

#define STAT_PRIMITIVE   0

#define STAT_RAW   0

#define STAT_XMAX   "xmax"

#define STAT_XMIN   "xmin"

#define STAT_YMAX   "ymax"

#define STAT_YMIN   "ymin"

#define STAT_ZMAX   "zmax"

#define STAT_ZMIN   "zmin"

#define TRUE   1

#define YYLEX_PARAM   parg

#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   ) 

void stat_scanner_set_debug ( void   ) 

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

void staterror ( char const *  msg  )