MicroModelicaCCompiler
4.5.3
model.hpp
Go to the documentation of this file.
1
/*****************************************************************************
2
3
This file is part of QSS Solver.
4
5
QSS Solver is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
QSS Solver is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with QSS Solver. If not, see <http://www.gnu.org/licenses/>.
17
18
******************************************************************************/
19
20
#ifndef MMO_MODEL_H_
21
#define MMO_MODEL_H_
22
23
#include <list>
24
#include <map>
25
#include <string>
26
#include <vector>
27
28
#include "
class.hpp
"
29
30
#include "../util/util_types.hpp"
31
35
class
MMO_Model
:
public
MMO_Class {
36
public
:
41
MMO_Model
(){};
46
MMO_Model
(
string
name
);
50
~MMO_Model
();
55
string
name
()
const
;
60
void
insert
(
string
n);
67
void
insert
(
VarName
n, VarInfo vi,
DEC_Type
type);
73
void
insert
(
VarName
n, VarInfo vi);
78
void
insert
(AST_Equation eq);
84
void
insert
(AST_Statement stm,
bool
initial);
89
void
insert
(AST_Statement stm);
94
void
insert
(MMO_Function &f);
99
void
insert
(AST_External_Function_Call efc);
104
void
insert
(AST_Argument_Modification x);
109
VarSymbolTable
varTable
();
114
MMO_ImportTable
imports
();
115
};
116
117
#endif
/* MMO_MODEL_H_ */
MMO_Model::~MMO_Model
~MMO_Model()
Definition:
model.cpp:38
MMO_Model
Definition:
model.hpp:35
MMO_Model::MMO_Model
MMO_Model()
Definition:
model.hpp:58
MMO_Model::name
string name() const
Definition:
model.cpp:60
MMO_Model::varTable
VarSymbolTable varTable()
Definition:
model.cpp:56
MicroModelica::IR::DEC_Type
DEC_Type
Definition:
class.hpp:75
VarName
std::string VarName
Definition:
util_types.hpp:43
MMO_Model::insert
void insert(string n)
Definition:
model.cpp:58
MMO_Model::imports
MMO_ImportTable imports()
Definition:
model.cpp:62
class.hpp
ir
model.hpp
Generated on Fri Feb 21 2025 11:43:43 for MicroModelicaCCompiler by
1.8.17