MicroModelicaCCompiler
4.5.3
|
#include <equation_printer.hpp>
Public Member Functions | |
AlgebraicPrinter (Equation eq) | |
~AlgebraicPrinter ()=default | |
std::string | print () const override |
std::string | equationId () const override |
![]() | |
DerivativePrinter (Equation eq) | |
~DerivativePrinter ()=default | |
std::string | macro () const override |
void | factorialInit (int fact_init) |
![]() | |
EquationPrinter (Equation eq) | |
virtual | ~EquationPrinter ()=default |
std::string | identifier () const |
std::string | algCode () const |
std::string | prefix () const |
std::string | lhs (int order=0) const |
FUNCTION_PRINTER::ReturnStatementType | returnStm () const |
std::multimap< std::string, int > | usedVariables () const |
Private Attributes | |
Option< Range > | _range |
Expression | _rhs |
Expression | _lhs |
int | _id |
Additional Inherited Members | |
![]() | |
void | initializeDerivatives () |
std::string | generateDerivatives (std::string tabs, int init=1) const |
![]() | |
void | setup (Equation eq) |
Definition at line 128 of file equation_printer.hpp.
MicroModelica::IR::AlgebraicPrinter::AlgebraicPrinter | ( | Equation | eq | ) |
Definition at line 305 of file equation_printer.cpp.
References TAB.
|
default |
|
overridevirtual |
Reimplemented from MicroModelica::IR::EquationPrinter.
Definition at line 333 of file equation_printer.cpp.
References MicroModelica::IR::DependencyPrinter::_var_idx, and TAB.
|
overridevirtual |
Reimplemented from MicroModelica::IR::DerivativePrinter.
Definition at line 310 of file equation_printer.cpp.
References _range.
|
private |
Definition at line 139 of file equation_printer.hpp.
|
private |
Definition at line 138 of file equation_printer.hpp.
Definition at line 136 of file equation_printer.hpp.
Referenced by print().
|
private |
Definition at line 137 of file equation_printer.hpp.