|
MicroModelicaCCompiler
4.5.3
|
#include <function.hpp>

Public Member Functions | |
| Function (IR::Function &function, Util::CompileFlags &flags, WriterPtr writer) | |
| ~Function () | |
| void | definition () |
| std::string | header () |
| void | setPrefix (std::string prefix) |
| void | addInclude (std::string include) |
| void | addInclude (Util::SymbolTable includes) |
Private Member Functions | |
| void | includes () |
| void | body () |
| void | localSymbols () |
| std::string | prototype () |
Private Attributes | |
| IR::Function | _function |
| Util::CompileFlags | _flags |
| WriterPtr | _writer |
| std::string | _prefix |
| Util::SymbolTable | _include |
| std::string | _return_variable |
| Util::VarSymbolTable | _symbols |
| bool | _void_function |
Definition at line 65 of file function.hpp.
| MicroModelica::Generator::Function::Function | ( | IR::Function & | function, |
| Util::CompileFlags & | flags, | ||
| WriterPtr | writer | ||
| ) |
Definition at line 47 of file function.cpp.
References body(), and includes().

| MicroModelica::Generator::Function::~Function | ( | ) |
Definition at line 56 of file function.cpp.
References _include, _writer, addInclude(), MicroModelica::Generator::WRITER::Function_Header, ModelTable< Key, Value >::insert(), MicroModelica::Util::Utils::instance(), ModelTable< Key, Value >::lookup(), and MicroModelica::Util::Utils::packageName().

| void MicroModelica::Generator::Function::addInclude | ( | std::string | include | ) |
Referenced by ~Function().
| void MicroModelica::Generator::Function::addInclude | ( | Util::SymbolTable | includes | ) |
Definition at line 187 of file function.cpp.
|
private |
Definition at line 133 of file function.cpp.
References _return_variable, _writer, and MicroModelica::Generator::WRITER::Function_Code.
Referenced by Function().
| void MicroModelica::Generator::Function::definition | ( | ) |
Definition at line 63 of file function.cpp.
| string MicroModelica::Generator::Function::header | ( | ) |
Definition at line 131 of file function.cpp.
|
private |
Definition at line 69 of file function.cpp.
Referenced by Function().
|
private |
Definition at line 158 of file function.cpp.
|
private |
Definition at line 90 of file function.cpp.
| void MicroModelica::Generator::Function::setPrefix | ( | std::string | prefix | ) |
Definition at line 183 of file function.cpp.
|
private |
Definition at line 98 of file function.hpp.
|
private |
Definition at line 97 of file function.hpp.
|
private |
Definition at line 101 of file function.hpp.
Referenced by ~Function().
|
private |
Definition at line 100 of file function.hpp.
|
private |
Definition at line 102 of file function.hpp.
Referenced by body().
|
private |
Definition at line 103 of file function.hpp.
|
private |
Definition at line 104 of file function.hpp.
|
private |
Definition at line 99 of file function.hpp.
Referenced by body(), and ~Function().