cfitsio  4.0.0
About: CFITSIO is a library of C and Fortran subroutines for reading and writing data files in the FITS (Flexible Image Transport System) data format.
  Fossies Dox: cfitsio-4.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

eval_defs.h File Reference
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "fitsio2.h"
#include "eval_tab.h"
Include dependency graph for eval_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DataInfo
 
struct  lval
 
struct  Node
 
struct  ParseData
 

Macros

#define MAXDIMS   5
 
#define MAXSUBS   10
 
#define MAXVARNAME   80
 
#define CONST_OP   -1000
 
#define pERROR   -1
 
#define MAX_STRLEN   256
 
#define MAX_STRLEN_S   "255"
 

Typedefs

typedef struct Node Node
 

Enumerations

enum  funcOp {
  rnd_fct = 1001 , sum_fct , nelem_fct , sin_fct ,
  cos_fct , tan_fct , asin_fct , acos_fct ,
  atan_fct , sinh_fct , cosh_fct , tanh_fct ,
  exp_fct , log_fct , log10_fct , sqrt_fct ,
  abs_fct , atan2_fct , ceil_fct , floor_fct ,
  round_fct , min1_fct , min2_fct , max1_fct ,
  max2_fct , near_fct , circle_fct , box_fct ,
  elps_fct , isnull_fct , defnull_fct , gtifilt_fct ,
  regfilt_fct , ifthenelse_fct , row_fct , null_fct ,
  median_fct , average_fct , stddev_fct , nonnull_fct ,
  angsep_fct , gasrnd_fct , poirnd_fct , strmid_fct ,
  strpos_fct , setnull_fct , gtiover_fct
}
 

Functions

int ffparse (void)
  More...
 
int fflex (void)
  More...
 
void ffrestart (FILE *)
  More...
 
void Evaluate_Parser (long firstRow, long nRows)
  More...
 

Variables

ParseData gParse
  More...
 

Enumeration Type Documentation

◆ funcOp

enum funcOp
Enumerator
rnd_fct 
sum_fct 
nelem_fct 
sin_fct 
cos_fct 
tan_fct 
asin_fct 
acos_fct 
atan_fct 
sinh_fct 
cosh_fct 
tanh_fct 
exp_fct 
log_fct 
log10_fct 
sqrt_fct 
abs_fct 
atan2_fct 
ceil_fct 
floor_fct 
round_fct 
min1_fct 
min2_fct 
max1_fct 
max2_fct 
near_fct 
circle_fct 
box_fct 
elps_fct 
isnull_fct 
defnull_fct 
gtifilt_fct 
regfilt_fct 
ifthenelse_fct 
row_fct 
null_fct 
median_fct 
average_fct 
stddev_fct 
nonnull_fct 
angsep_fct 
gasrnd_fct 
poirnd_fct 
strmid_fct 
strpos_fct 
setnull_fct 
gtiover_fct 

Definition at line 101 of file eval_defs.h.

Function Documentation

◆ Evaluate_Parser()

◆ fflex()

◆ ffparse()

int ffparse ( void  )

Definition at line 1670 of file eval_y.c.

References abs_fct, ACCUM, acos_fct, AND, angsep_fct, asin_fct, atan2_fct, atan_fct, average_fct, BITSTR, BOOLEAN, box_fct, ceil_fct, circle_fct, Close_Vec(), CONST_OP, Copy_Dims(), cos_fct, cosh_fct, defnull_fct, DIFF, DOUBLE, elps_fct, EQ, exp_fct, FF_, FF_ACCESSING_SYMBOL, FF_ASSERT, FF_CAST, FF_IGNORE_MAYBE_UNINITIALIZED_BEGIN, FF_IGNORE_MAYBE_UNINITIALIZED_END, FF_IGNORE_USELESS_CAST_BEGIN, FF_IGNORE_USELESS_CAST_END, FF_REDUCE_PRINT, FF_STACK_PRINT, FF_SYMBOL_PRINT, FFABORT, FFACCEPT, ffchar, ffcheck, ffdefact, ffdefgoto, ffdestruct(), FFDPRINTF, FFEMPTY, FFEOF, fferrok, FFerror, FFERROR, fferror(), FFFINAL, FFINITDEPTH, FFLAST, fflex(), fflval, FFMAXDEPTH, ffnerrs, FFNSTATES, FFNTOKENS, ffpact, ffpact_value_is_default, ffpgoto, FFPOPSTACK, FFPTRDIFF_T, ffr1, ffr2, FFSIZE_T, FFSIZEOF, ffalloc::ffss_alloc, FFSTACK_ALLOC, FFSTACK_BYTES, FFSTACK_FREE, FFSTACK_RELOCATE, FFSYMBOL_FFEMPTY, FFSYMBOL_FFEOF, FFSYMBOL_FFerror, fftable, fftable_value_is_error, FFTRANSLATE, FFUNDEF, ffalloc::ffvs_alloc, floor_fct, FLTCAST, FSTRCMP, gasrnd_fct, gParse, GT, GTE, gtifilt_fct, gtiover_fct, ifthenelse_fct, INTCAST, isnull_fct, log10_fct, log_fct, LONG, LT, LTE, max1_fct, max2_fct, MAX_STRLEN, MAX_STRLEN_S, MAXSUBS, median_fct, min1_fct, min2_fct, NE, near_fct, New_BinOp(), New_Column(), New_Const(), New_Deref(), New_Func(), New_FuncSize(), New_GTI(), New_Offset(), New_REG(), New_Unary(), New_Vector(), FFSTYPE::Node, ParseData::Nodes, nonnull_fct, NOT, Node::nSubNodes, null_fct, OPER, OR, poirnd_fct, POWER, PROMOTE, ParseData::resultNode, rnd_fct, round_fct, row_fct, setnull_fct, sin_fct, sinh_fct, SIZE, sqrt_fct, stddev_fct, FFSTYPE::str, STRING, strmid_fct, strpos_fct, sum_fct, tan_fct, tanh_fct, TEST, Test_Dims(), TYPE, and UMINUS.

Referenced by ffiprs().

◆ ffrestart()

void ffrestart ( FILE *  input_file)

Immediately switch to a different input stream.

Parameters
input_fileA readable stream.
Note
This function does not reset the start condition to INITIAL .

Definition at line 1870 of file eval_l.c.

References FF_BUF_SIZE, ff_create_buffer(), FF_CURRENT_BUFFER, FF_CURRENT_BUFFER_LVALUE, ff_init_buffer(), ff_load_buffer_state(), ffensure_buffer_stack(), and ffin.

Referenced by ff_get_next_buffer(), ffiprs(), and input().