MicroModelicaCCompiler
4.5.3
|
#include <table.hpp>
Public Types | |
typedef std::map< Key, Value >::iterator | iterator |
typedef std::map< Key, Value >::const_iterator | const_iterator |
Public Member Functions | |
ModelTable () | |
~ModelTable ()=default | |
void | insert (Key k, Value v) |
Option< Value > | operator[] (Key k) const |
void | remove (Key k) |
bool | lookup (Key key) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Value | begin (iterator &it) |
bool | end (iterator &it) |
Value | next (iterator &it) |
Value | value (iterator &it) |
Value | value (int pos) |
Key | key (iterator &it) |
void | merge (ModelTable< Key, Value > other) |
Value | first () |
void | clear () |
bool | empty () |
const int | size () const |
std::list< Key > | keys () |
Protected Member Functions | |
std::map< Key, Value > | map () const |
Private Attributes | |
std::map< Key, Value > | _map |
typedef std::map<Key, Value>::const_iterator ModelTable< Key, Value >::const_iterator |
typedef std::map<Key, Value>::iterator ModelTable< Key, Value >::iterator |
|
inline |
|
default |
|
inline |
Definition at line 68 of file table.hpp.
Referenced by MicroModelica::IR::Range::applyUsage(), MicroModelica::Generator::QSSModelInstance::generate(), MicroModelica::Generator::Macros::indexMacro(), MicroModelica::Generator::Files::makefile(), ModelTable< std::string, std::string >::merge(), ModelTable< std::string, std::string >::next(), MicroModelica::IR::FunctionPrinter::parseConstants(), parsePackages(), and MicroModelica::IR::Range::update().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 108 of file table.hpp.
Referenced by MicroModelica::IR::FunctionAnnotation::initialize(), and MicroModelica::Generator::Files::makefile().
|
inline |
Definition at line 70 of file table.hpp.
Referenced by MicroModelica::IR::Range::applyUsage(), MicroModelica::Generator::QSSModelInstance::generate(), MicroModelica::Generator::Macros::indexMacro(), MicroModelica::Generator::Files::makefile(), ModelTable< std::string, std::string >::merge(), ModelTable< std::string, std::string >::next(), MicroModelica::IR::FunctionPrinter::parseConstants(), parsePackages(), and MicroModelica::IR::Range::update().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 48 of file table.hpp.
Referenced by MicroModelica::IR::Model::addEquation(), MicroModelica::IR::Model::addEvent(), MicroModelica::IR::Range::applyUsage(), MicroModelica::Util::Utils::getVarName(), MicroModelica::IR::Model::insert(), MicroModelica::IR::Range::isEmpty(), MicroModelica::IR::CompiledPackage::linkLibraries(), MicroModelica::Generator::Files::makefile(), ModelTable< std::string, std::string >::next(), MicroModelica::IR::Model::orderEquations(), MicroModelica::IR::Range::Range(), MicroModelica::IR::Model::reduceEquation(), MicroModelica::IR::Model::setOutputs(), MicroModelica::IR::Function::statements(), MicroModelica::IR::Range::update(), and MicroModelica::Generator::Function::~Function().
|
inline |
Definition at line 94 of file table.hpp.
Referenced by MicroModelica::IR::Range::applyUsage(), MicroModelica::IR::Range::getIndexes(), MicroModelica::IR::Range::getInitValues(), MicroModelica::Generator::Macros::indexMacro(), ModelTable< std::string, std::string >::merge(), ModelTable< std::string, std::string >::next(), and MicroModelica::IR::Range::update().
|
inline |
|
inline |
Definition at line 63 of file table.hpp.
Referenced by MicroModelica::Generator::Function::~Function().
|
inlineprotected |
|
inline |
Definition at line 95 of file table.hpp.
Referenced by MicroModelica::IR::Model::addFunction(), MicroModelica::IR::Function::annotations(), and MicroModelica::IR::CompiledPackage::CompiledPackage().
|
inline |
Definition at line 78 of file table.hpp.
Referenced by MicroModelica::IR::Range::applyUsage(), MicroModelica::Generator::QSSModelInstance::generate(), MicroModelica::Generator::Macros::indexMacro(), MicroModelica::Generator::Files::makefile(), ModelTable< std::string, std::string >::merge(), ModelTable< std::string, std::string >::next(), MicroModelica::IR::FunctionPrinter::parseConstants(), parsePackages(), and MicroModelica::IR::Range::update().
|
inline |
|
inline |
|
inline |
Definition at line 109 of file table.hpp.
Referenced by MicroModelica::IR::FunctionPrinter::parseConstants(), MicroModelica::IR::Range::update(), and MicroModelica::IR::VariableUsage::VariableUsage().
|
inline |
|
inline |
|
private |
Definition at line 122 of file table.hpp.
Referenced by ModelTable< std::string, std::string >::operator[](), and ModelTable< std::string, std::string >::remove().