Aprepro  5.0x
apr_util.h
Go to the documentation of this file.
1 /*
2  * Copyright(C) 1999-2020 National Technology & Engineering Solutions
3  * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
4  * NTESS, the U.S. Government retains certain rights in this software.
5  *
6  * See packages/seacas/LICENSE for details
7  */
8 #ifndef SEAMS_UTIL_H
9 #define SEAMS_UTIL_H
10 
11 #include "aprepro.h"
12 #include <string>
13 
14 namespace SEAMS {
15  bool arg_check(SEAMS::symrec *symbol, bool is_null);
16  void conv_string(char *string);
17  void new_string(const std::string &from, char **to);
18  void new_string(const char *from, char **to);
19  void concat_string(const char *from1, const char *from2, char **to);
20  const char *get_temp_filename();
21  void math_error(const SEAMS::Aprepro &aprepro, const char *function);
22  void math_error(const char *function);
23  void yyerror(const SEAMS::Aprepro &aprepro, const std::string &s);
24  void undefined_error(const SEAMS::Aprepro &aprepro, const std::string &var);
25  void redefined_warning(const SEAMS::Aprepro &aprepro, const SEAMS::symrec *var);
26  void warning(const SEAMS::Aprepro &aprepro, const std::string &var);
27  void immutable_modify(const SEAMS::Aprepro &aprepro, const SEAMS::symrec *var);
28  void set_type(const SEAMS::Aprepro &apr, SEAMS::symrec *var, int type);
29  void cleanup_memory();
30  bool is_directory(const std::string &filepath);
31  bool check_valid_var(const char *s);
32 } // namespace SEAMS
33 #endif
SEAMS::cleanup_memory
void cleanup_memory()
Definition: apr_util.cc:217
SEAMS
Definition: apr_aprepro.cc:41
aprepro.h
SEAMS::new_string
void new_string(const std::string &from, char **to)
Definition: apr_util.cc:93
SEAMS::aprepro
Aprepro * aprepro
Definition: apr_aprepro.cc:42
SEAMS::arg_check
bool arg_check(SEAMS::symrec *symbol, bool is_null)
Definition: apr_util.cc:63
SEAMS::get_temp_filename
const char * get_temp_filename()
Definition: apr_util.cc:111
SEAMS::concat_string
void concat_string(const char *from1, const char *from2, char **to)
Definition: apr_util.cc:96
SEAMS::set_type
void set_type(const SEAMS::Aprepro &apr, SEAMS::symrec *var, int type)
Definition: apr_util.cc:75
SEAMS::warning
void warning(const SEAMS::Aprepro &apr, const std::string &s)
Definition: apr_util.cc:164
SEAMS::symrec
Definition: aprepro.h:48
SEAMS::undefined_error
void undefined_error(const SEAMS::Aprepro &apr, const std::string &var)
Definition: apr_util.cc:139
SEAMS::redefined_warning
void redefined_warning(const SEAMS::Aprepro &apr, const SEAMS::symrec *var)
Definition: apr_util.cc:149
SEAMS::check_valid_var
bool check_valid_var(const char *var)
Definition: apr_util.cc:240
SEAMS::yyerror
void yyerror(const char *s)
SEAMS::immutable_modify
void immutable_modify(const SEAMS::Aprepro &apr, const SEAMS::symrec *var)
Definition: apr_util.cc:133
SEAMS::is_directory
bool is_directory(const std::string &filepath)
Definition: apr_util.cc:227
SEAMS::math_error
void math_error(const SEAMS::Aprepro &apr, const char *function)
Definition: apr_util.cc:166
SEAMS::Aprepro
Definition: aprepro.h:159
SEAMS::conv_string
void conv_string(char *string)
Definition: apr_util.cc:203