Aprepro 5.0x
|
Namespaces | |
namespace | anonymous_namespace{apr_aprepro.cc} |
namespace | anonymous_namespace{apr_units.cc} |
Classes | |
class | Aprepro |
struct | aprepro_options |
struct | array |
struct | file_rec |
struct | history_data |
class | Parser |
A Bison parser. More... | |
class | Scanner |
struct | symrec |
struct | Symtable |
Functions | |
double | array_interpolate (const array *arr, double row, double col) |
double | array_value (array *arr, double row, double col) |
array * | array_add (const array *a, const array *b) |
array * | array_sub (const array *a, const array *b) |
array * | array_scale (const array *a, double s) |
array * | array_mult (const array *a, const array *b) |
double | do_time () |
double | do_FtoC (double F) |
double | do_CtoF (double C) |
double | do_int (double x) |
double | do_nint (double x) |
double | do_dist (double x1, double y1, double x2, double y2) |
double | do_angle (double x1, double y1, double x2, double y2) |
double | do_angled (double x1, double y1, double x2, double y2) |
double | do_hypot (double x, double y) |
double | do_pow (double x, double y) |
double | do_max (double x, double y) |
double | do_min (double x, double y) |
double | do_d2r (double x) |
double | do_r2d (double x) |
double | do_sind (double x) |
double | do_sin (double x) |
double | do_cosd (double x) |
double | do_cos (double x) |
double | do_tand (double x) |
double | do_tan (double x) |
double | do_atan2d (double x, double y) |
double | do_atan2 (double x, double y) |
double | do_atand (double x) |
double | do_atan (double x) |
double | do_asind (double x) |
double | do_asin (double x) |
double | do_acosd (double x) |
double | do_acos (double x) |
double | do_srand (double seed) |
double | do_rand (double xl, double xh) |
double | do_rand_normal (double mean, double stddev) |
double | do_rand_lognormal (double mean, double stddev) |
double | do_rand_weibull (double alpha, double beta) |
double | do_sign (double x, double y) |
double | do_dim (double x, double y) |
double | do_fabs (double x) |
double | do_ceil (double x) |
double | do_cosh (double x) |
double | do_exp (double x) |
double | do_expm1 (double x) |
double | do_erf (double x) |
double | do_erfc (double x) |
double | do_floor (double x) |
double | do_fmod (double x, double y) |
double | do_log (double x) |
double | do_log10 (double x) |
double | do_sinh (double x) |
double | do_sqrt (double x) |
double | do_cbrt (double x) |
double | do_tanh (double x) |
double | do_polarX (double rad, double ang) |
double | do_polarY (double rad, double ang) |
double | do_lgamma (double val) |
double | do_tgamma (double val) |
double | do_juldayhms (double mon, double day, double year, double h, double mi, double se) |
double | do_julday (double mon, double day, double year) |
double | do_log1p (double x) |
double | do_acosh (double x) |
double | do_asinh (double x) |
double | do_atanh (double x) |
double | do_rows (const array *arr) |
double | do_cols (const array *arr) |
const char * | do_version () |
const char * | do_get_date () |
const char * | do_get_iso_date () |
const char * | do_get_time () |
const char * | do_tolower (char *string) |
const char * | do_toupper (char *string) |
const char * | do_tostring (double x) |
const char * | do_output (char *filename) |
const char * | do_append (char *filename) |
double | do_word_count (char *string, char *delm) |
double | do_find_word (char *word, char *string, char *delm) |
const char * | do_get_word (double n, char *string, char *delm) |
const char * | do_file_to_string (char *filename) |
const char * | do_getenv (char *env) |
double | do_strtod (char *string) |
const char * | do_dumpsym () |
const char * | do_dumpsym_json () |
const char * | do_dumpfunc () |
const char * | do_dumpvar () |
const char * | do_dumpsym1 (char *pre) |
const char * | do_dumpfunc1 (char *pre) |
const char * | do_dumpvar1 (char *pre) |
double | do_option (char *option, double value) |
const char * | do_include_path (char *new_path) |
const char * | do_intout (double intval) |
const char * | do_format (double var, char *format) |
const char * | do_execute (char *string) |
const char * | do_rescan (char *string) |
const char * | do_import (char *string) |
const char * | do_if (double x) |
const char * | do_notif (double x) |
const char * | do_elseif (double x) |
const char * | do_str_if (char *string) |
const char * | do_str_notif (char *string) |
const char * | do_str_elseif (char *string) |
const char * | do_switch (double x) |
const char * | do_case (double x) |
const char * | do_extract (char *string, char *begin, char *end) |
const char * | do_get_temp_filename () |
const char * | do_error (char *error_string) |
const char * | do_print_array (const array *my_array_data) |
const char * | do_delete (char *string) |
array * | do_make_array (double rows, double cols) |
array * | do_make_array_init (double rows, double cols, double init) |
array * | do_identity (double size) |
array * | do_linear_array (double init, double final, double count) |
array * | do_transpose (const array *a) |
array * | do_principal (const array *a) |
array * | do_csv_array1 (const char *filename) |
array * | do_csv_array (const char *filename, double skip) |
array * | do_csv_array2 (const char *filename, const char *comment) |
array * | do_array_from_string (const char *string, const char *delm) |
array * | do_sym_tensor_from_string (const char *string, const char *delm) |
const char * | do_Units (char *type) |
const char * | do_print_array (array *my_array_data) |
void | gl_setwidth (size_t w) |
char * | getline_int (const char *prompt) |
void | gl_histadd (const char *buf) |
void | yyerror (const char *s) |
std::vector< std::string > | tokenize (const std::string &str, const std::string &separators) |
bool | arg_check (SEAMS::symrec *symbol, bool is_null) |
void | set_type (const SEAMS::Aprepro &apr, SEAMS::symrec *var, int type) |
void | new_string (const std::string &from, char **to) |
void | new_string (const char *from, char **to) |
void | concat_string (const char *from1, const char *from2, char **to) |
const char * | get_temp_filename () |
void | yyerror (const SEAMS::Aprepro &apr, const std::string &s) |
void | immutable_modify (const SEAMS::Aprepro &apr, const SEAMS::symrec *var) |
void | undefined_error (const SEAMS::Aprepro &apr, const std::string &var) |
void | redefined_warning (const SEAMS::Aprepro &apr, const SEAMS::symrec *var) |
void | warning (const SEAMS::Aprepro &apr, const std::string &s) |
void | math_error (const SEAMS::Aprepro &apr, const char *function) |
void | math_error (const char *function) |
void | conv_string (char *string) |
void | cleanup_memory () |
bool | is_directory (const std::string &filepath) |
bool | check_valid_var (const char *var) |
The SEAMS namespace is used to encapsulate the three parser classes SEAMS::Parser, SEAMS::Scanner and SEAMS::Aprepro
bool SEAMS::arg_check | ( | SEAMS::symrec * | symbol, |
bool | is_null ) |
double SEAMS::array_interpolate | ( | const array * | arr, |
double | row, | ||
double | col ) |
double SEAMS::array_value | ( | array * | arr, |
double | row, | ||
double | col ) |
bool SEAMS::check_valid_var | ( | const char * | var | ) |
void SEAMS::cleanup_memory | ( | ) |
void SEAMS::concat_string | ( | const char * | from1, |
const char * | from2, | ||
char ** | to ) |
void SEAMS::conv_string | ( | char * | string | ) |
double SEAMS::do_acos | ( | double | x | ) |
double SEAMS::do_acosd | ( | double | x | ) |
double SEAMS::do_acosh | ( | double | x | ) |
double SEAMS::do_angle | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 ) |
double SEAMS::do_angled | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 ) |
const char * SEAMS::do_append | ( | char * | filename | ) |
array * SEAMS::do_array_from_string | ( | const char * | string, |
const char * | delm ) |
double SEAMS::do_asin | ( | double | x | ) |
double SEAMS::do_asind | ( | double | x | ) |
double SEAMS::do_asinh | ( | double | x | ) |
double SEAMS::do_atan | ( | double | x | ) |
double SEAMS::do_atan2 | ( | double | x, |
double | y ) |
double SEAMS::do_atan2d | ( | double | x, |
double | y ) |
double SEAMS::do_atand | ( | double | x | ) |
double SEAMS::do_atanh | ( | double | x | ) |
const char * SEAMS::do_case | ( | double | x | ) |
double SEAMS::do_cbrt | ( | double | x | ) |
double SEAMS::do_ceil | ( | double | x | ) |
double SEAMS::do_cols | ( | const array * | arr | ) |
double SEAMS::do_cos | ( | double | x | ) |
double SEAMS::do_cosd | ( | double | x | ) |
double SEAMS::do_cosh | ( | double | x | ) |
array * SEAMS::do_csv_array | ( | const char * | filename, |
double | skip ) |
array * SEAMS::do_csv_array1 | ( | const char * | filename | ) |
array * SEAMS::do_csv_array2 | ( | const char * | filename, |
const char * | comment ) |
double SEAMS::do_CtoF | ( | double | C | ) |
double SEAMS::do_d2r | ( | double | x | ) |
const char * SEAMS::do_delete | ( | char * | string | ) |
double SEAMS::do_dim | ( | double | x, |
double | y ) |
double SEAMS::do_dist | ( | double | x1, |
double | y1, | ||
double | x2, | ||
double | y2 ) |
const char * SEAMS::do_dumpfunc | ( | ) |
const char * SEAMS::do_dumpfunc1 | ( | char * | pre | ) |
const char * SEAMS::do_dumpsym | ( | ) |
const char * SEAMS::do_dumpsym1 | ( | char * | pre | ) |
const char * SEAMS::do_dumpsym_json | ( | ) |
const char * SEAMS::do_dumpvar | ( | ) |
const char * SEAMS::do_dumpvar1 | ( | char * | pre | ) |
const char * SEAMS::do_elseif | ( | double | x | ) |
double SEAMS::do_erf | ( | double | x | ) |
double SEAMS::do_erfc | ( | double | x | ) |
const char * SEAMS::do_error | ( | char * | error_string | ) |
const char * SEAMS::do_execute | ( | char * | string | ) |
double SEAMS::do_exp | ( | double | x | ) |
double SEAMS::do_expm1 | ( | double | x | ) |
const char * SEAMS::do_extract | ( | char * | string, |
char * | begin, | ||
char * | end ) |
double SEAMS::do_fabs | ( | double | x | ) |
const char * SEAMS::do_file_to_string | ( | char * | filename | ) |
double SEAMS::do_find_word | ( | char * | word, |
char * | string, | ||
char * | delm ) |
double SEAMS::do_floor | ( | double | x | ) |
double SEAMS::do_fmod | ( | double | x, |
double | y ) |
const char * SEAMS::do_format | ( | double | var, |
char * | format ) |
double SEAMS::do_FtoC | ( | double | F | ) |
const char * SEAMS::do_get_date | ( | ) |
const char * SEAMS::do_get_iso_date | ( | ) |
const char * SEAMS::do_get_temp_filename | ( | ) |
const char * SEAMS::do_get_time | ( | ) |
const char * SEAMS::do_get_word | ( | double | n, |
char * | string, | ||
char * | delm ) |
const char * SEAMS::do_getenv | ( | char * | env | ) |
double SEAMS::do_hypot | ( | double | x, |
double | y ) |
array * SEAMS::do_identity | ( | double | size | ) |
const char * SEAMS::do_if | ( | double | x | ) |
const char * SEAMS::do_import | ( | char * | string | ) |
const char * SEAMS::do_include_path | ( | char * | new_path | ) |
double SEAMS::do_int | ( | double | x | ) |
const char * SEAMS::do_intout | ( | double | intval | ) |
double SEAMS::do_julday | ( | double | mon, |
double | day, | ||
double | year ) |
double SEAMS::do_juldayhms | ( | double | mon, |
double | day, | ||
double | year, | ||
double | h, | ||
double | mi, | ||
double | se ) |
double SEAMS::do_lgamma | ( | double | val | ) |
array * SEAMS::do_linear_array | ( | double | init, |
double | final, | ||
double | count ) |
double SEAMS::do_log | ( | double | x | ) |
double SEAMS::do_log10 | ( | double | x | ) |
double SEAMS::do_log1p | ( | double | x | ) |
array * SEAMS::do_make_array | ( | double | rows, |
double | cols ) |
array * SEAMS::do_make_array_init | ( | double | rows, |
double | cols, | ||
double | init ) |
double SEAMS::do_max | ( | double | x, |
double | y ) |
double SEAMS::do_min | ( | double | x, |
double | y ) |
double SEAMS::do_nint | ( | double | x | ) |
const char * SEAMS::do_notif | ( | double | x | ) |
double SEAMS::do_option | ( | char * | option, |
double | value ) |
const char * SEAMS::do_output | ( | char * | filename | ) |
double SEAMS::do_polarX | ( | double | rad, |
double | ang ) |
double SEAMS::do_polarY | ( | double | rad, |
double | ang ) |
double SEAMS::do_pow | ( | double | x, |
double | y ) |
const char * SEAMS::do_print_array | ( | array * | my_array_data | ) |
const char * SEAMS::do_print_array | ( | const array * | my_array_data | ) |
double SEAMS::do_r2d | ( | double | x | ) |
double SEAMS::do_rand | ( | double | xl, |
double | xh ) |
double SEAMS::do_rand_lognormal | ( | double | mean, |
double | stddev ) |
double SEAMS::do_rand_normal | ( | double | mean, |
double | stddev ) |
double SEAMS::do_rand_weibull | ( | double | alpha, |
double | beta ) |
const char * SEAMS::do_rescan | ( | char * | string | ) |
double SEAMS::do_rows | ( | const array * | arr | ) |
double SEAMS::do_sign | ( | double | x, |
double | y ) |
double SEAMS::do_sin | ( | double | x | ) |
double SEAMS::do_sind | ( | double | x | ) |
double SEAMS::do_sinh | ( | double | x | ) |
double SEAMS::do_sqrt | ( | double | x | ) |
double SEAMS::do_srand | ( | double | seed | ) |
const char * SEAMS::do_str_elseif | ( | char * | string | ) |
const char * SEAMS::do_str_if | ( | char * | string | ) |
const char * SEAMS::do_str_notif | ( | char * | string | ) |
double SEAMS::do_strtod | ( | char * | string | ) |
const char * SEAMS::do_switch | ( | double | x | ) |
array * SEAMS::do_sym_tensor_from_string | ( | const char * | string, |
const char * | delm ) |
double SEAMS::do_tan | ( | double | x | ) |
double SEAMS::do_tand | ( | double | x | ) |
double SEAMS::do_tanh | ( | double | x | ) |
double SEAMS::do_tgamma | ( | double | val | ) |
double SEAMS::do_time | ( | ) |
const char * SEAMS::do_tolower | ( | char * | string | ) |
const char * SEAMS::do_tostring | ( | double | x | ) |
const char * SEAMS::do_toupper | ( | char * | string | ) |
const char * SEAMS::do_Units | ( | char * | type | ) |
const char * SEAMS::do_version | ( | ) |
double SEAMS::do_word_count | ( | char * | string, |
char * | delm ) |
const char * SEAMS::get_temp_filename | ( | ) |
char * SEAMS::getline_int | ( | const char * | prompt | ) |
void SEAMS::gl_histadd | ( | const char * | buf | ) |
void SEAMS::gl_setwidth | ( | size_t | w | ) |
void SEAMS::immutable_modify | ( | const SEAMS::Aprepro & | apr, |
const SEAMS::symrec * | var ) |
bool SEAMS::is_directory | ( | const std::string & | filepath | ) |
void SEAMS::math_error | ( | const char * | function | ) |
void SEAMS::math_error | ( | const SEAMS::Aprepro & | apr, |
const char * | function ) |
void SEAMS::new_string | ( | const char * | from, |
char ** | to ) |
void SEAMS::new_string | ( | const std::string & | from, |
char ** | to ) |
void SEAMS::redefined_warning | ( | const SEAMS::Aprepro & | apr, |
const SEAMS::symrec * | var ) |
void SEAMS::set_type | ( | const SEAMS::Aprepro & | apr, |
SEAMS::symrec * | var, | ||
int | type ) |
std::vector< std::string > SEAMS::tokenize | ( | const std::string & | str, |
const std::string & | separators ) |
Take the 'str' argument and split it using the list of characters in separators as separators. Use tokens to return the result.
void SEAMS::undefined_error | ( | const SEAMS::Aprepro & | apr, |
const std::string & | var ) |
void SEAMS::warning | ( | const SEAMS::Aprepro & | apr, |
const std::string & | s ) |
void SEAMS::yyerror | ( | const char * | s | ) |
void SEAMS::yyerror | ( | const SEAMS::Aprepro & | apr, |
const std::string & | s ) |
Aprepro * SEAMS::aprepro = nullptr |
const init SEAMS::arith_0_fncts[] |
const init_a SEAMS::arith_a_fncts[] |
const init_c SEAMS::arith_c_fncts[] |
const init_cc SEAMS::arith_cc_fncts[] |
const init_ccc SEAMS::arith_ccc_fncts[] |
const init_cd SEAMS::arith_cd_fncts[] |
const init_dd SEAMS::arith_dd_fncts[] |
const init_ddd SEAMS::arith_ddd_fncts[] |
const init_dddd SEAMS::arith_dddd_fncts[] |
const init_dddddd SEAMS::arith_dddddd_fncts[] |
const init_d SEAMS::arith_fncts[] |
const array_a_init SEAMS::array_a_fncts[] |
const array_c_init SEAMS::array_c_fncts[] |
const array_cc_init SEAMS::array_cc_fncts[] |
const array_cd_init SEAMS::array_cd_fncts[] |
const array_d_init SEAMS::array_d_fncts[] |
const array_dd_init SEAMS::array_dd_fncts[] |
const array_ddd_init SEAMS::array_ddd_fncts[] |
bool SEAMS::echo = true |
const str_a_init SEAMS::string_a_fncts[] |
const str_c_init SEAMS::string_c_fncts[] |
const str_cc_init SEAMS::string_cc_fncts[] |
const str_ccc_init SEAMS::string_ccc_fncts[] |
const str_d_init SEAMS::string_d_fncts[] |
const str_dc_init SEAMS::string_dc_fncts[] |
const str_dcc_init SEAMS::string_dcc_fncts[] |
const str_init SEAMS::string_fncts[] |
const svar_init SEAMS::svariables[] |
const var_init SEAMS::variables[] |