COPASI API
4.16.103
|
#include <CSBMLunitInterface.h>
Public Member Functions | |
CEnvironmentInformation () | |
CEnvironmentInformation (const std::string &ri) | |
void | drop () |
drop the top level of the function variables frame stack More... | |
bool | isReactionScope () const |
tells if the current scope involves a reaction (local parameters) More... | |
void | push (std::map< std::string, ASTNode * > &frame) |
push a mapping for function variables onto the frame stack More... | |
Public Attributes | |
std::vector< std::map < std::string, ASTNode * > > | mFrameStack |
std::string | mReactionID |
describes the local environment for the recursive unit analysis. It can either be empty, in this case only the global objects are accessible. If a reaction is provided the local parameters of this reaction are accessible. If a stack of function variables is provided, the top level of this stack describes the accessible variables in the frame. Local parameters and function variables are never simultaneously accessible.
Definition at line 177 of file CSBMLunitInterface.h.
|
inline |
Definition at line 180 of file CSBMLunitInterface.h.
|
inline |
Definition at line 181 of file CSBMLunitInterface.h.
|
inline |
drop the top level of the function variables frame stack
Definition at line 188 of file CSBMLunitInterface.h.
References mFrameStack.
Referenced by CSBMLunitInterface::recursion().
|
inline |
tells if the current scope involves a reaction (local parameters)
Definition at line 184 of file CSBMLunitInterface.h.
References mFrameStack, and mReactionID.
Referenced by CSBMLunitInterface::getMappedUnitFromIdentifier().
|
inline |
push a mapping for function variables onto the frame stack
Definition at line 192 of file CSBMLunitInterface.h.
Referenced by CSBMLunitInterface::recursion().
std::vector<std::map<std::string, ASTNode*> > CSBMLunitInterface::CEnvironmentInformation::mFrameStack |
Definition at line 196 of file CSBMLunitInterface.h.
Referenced by drop(), isReactionScope(), CSBMLunitInterface::recursionPower(), and CSBMLunitInterface::resolveVariableName().
std::string CSBMLunitInterface::CEnvironmentInformation::mReactionID |
Definition at line 193 of file CSBMLunitInterface.h.
Referenced by CSBMLunitInterface::getMappedUnitFromIdentifier(), CSBMLunitInterface::handleOneExpression(), and isReactionScope().