Aprepro 5.0x
Loading...
Searching...
No Matches
apr_util.h
Go to the documentation of this file.
1/*
2 * Copyright(C) 1999-2023 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#pragma once
9
10#include <string>
11
12namespace SEAMS {
13 struct symrec;
14 class Aprepro;
15
16 bool arg_check(SEAMS::symrec *symbol, bool is_null);
17 void conv_string(char *string);
18 void new_string(const std::string &from, char **to);
19 void new_string(const char *from, char **to);
20 void concat_string(const char *from1, const char *from2, char **to);
21 const char *get_temp_filename();
22 void math_error(const SEAMS::Aprepro &aprepro, const char *function);
23 void math_error(const char *function);
24 void yyerror(const SEAMS::Aprepro &aprepro, const std::string &s);
25 void undefined_error(const SEAMS::Aprepro &aprepro, const std::string &var);
27 void warning(const SEAMS::Aprepro &aprepro, const std::string &var);
29 void set_type(const SEAMS::Aprepro &apr, SEAMS::symrec *var, int type);
30 void cleanup_memory();
31 bool is_directory(const std::string &filepath);
32 bool check_valid_var(const char *s);
33} // namespace SEAMS
Definition aprepro.h:90
Definition apr_aprepro.cc:57
void warning(const SEAMS::Aprepro &apr, const std::string &s)
Definition apr_util.cc:176
void conv_string(char *string)
Definition apr_util.cc:222
void undefined_error(const SEAMS::Aprepro &apr, const std::string &var)
Definition apr_util.cc:146
void yyerror(const char *s)
void redefined_warning(const SEAMS::Aprepro &apr, const SEAMS::symrec *var)
Definition apr_util.cc:161
bool is_directory(const std::string &filepath)
Definition apr_util.cc:246
void concat_string(const char *from1, const char *from2, char **to)
Definition apr_util.cc:102
void new_string(const std::string &from, char **to)
Definition apr_util.cc:99
bool check_valid_var(const char *var)
Definition apr_util.cc:257
Aprepro * aprepro
Definition apr_aprepro.cc:89
bool arg_check(SEAMS::symrec *symbol, bool is_null)
Definition apr_util.cc:69
const char * get_temp_filename()
Definition apr_util.cc:117
void set_type(const SEAMS::Aprepro &apr, SEAMS::symrec *var, int type)
Definition apr_util.cc:81
void immutable_modify(const SEAMS::Aprepro &apr, const SEAMS::symrec *var)
Definition apr_util.cc:140
void math_error(const SEAMS::Aprepro &apr, const char *function)
Definition apr_util.cc:178
void cleanup_memory()
Definition apr_util.cc:236
Definition apr_symrec.h:26