Minsky
|
#include <minskyTCL.h>
Public Member Functions | |
void | getValue (const std::string &valueId) |
generate a TCL_obj referring to variableValues[valueId] More... | |
void | startRecording (const char *file) |
void | stopRecording () |
void | operationIcon (const char *imageName, const char *opName) const |
fill in a Tk image with the icon for a specific operation More... | |
std::set< string > | matchingTableColumns (const std::string &currTable, GodleyAssetClass::AssetClass ac) |
void | registerRef (ItemPtr &item, const std::string &name) |
register item as a TCL obj under name if it exists, otherwise deregister it More... | |
bool | itemFromItemFocus () |
bool | itemFocusFromItem () |
bool | getItemAt (float x, float y) |
void | retypeItem (VariableType::Type type) |
bool | getItemAtFocus () |
bool | findVariableDefinition () |
bool | getWireAt (float x, float y) |
void | addVariable (const std::string &name, VariableType::Type type) |
void | addOperation (OperationType::Type op) |
void | addNote (const std::string &text) |
void | addPlot () |
void | addGodley () |
void | addGroup () |
void | addSwitch () |
void | addIntegral () |
void | addRavel () |
void | addLock () |
void | addSheet () |
void | createGroup () |
void | convertVarType (const std::string &name, VariableType::Type type) |
void | groupOfItem () |
void | resetItem () |
bool | selectVar (float x, float y) |
std::string | TCLItem () |
create a TCL controlled object that is a reference to item More... | |
void | setColour (std::size_t i, const char *name) |
sets the colour of palette item i to Tk acceptable colour name More... | |
bool | findObject (const std::string &type) |
find first object of given type More... | |
bool | findVariable (const std::string &name) |
void | openGroupInCanvas () |
reinitialises canvas to the group located in item More... | |
void | openModelInCanvas () |
reinitialises canvas to the toplevel group More... | |
std::string | openGodley () |
std::string | listAllInstances () const |
void | loadVariableFromCSV (const std::string &specVar, const std::string &filename) |
void | load (const std::string &filename) |
load from a file More... | |
void | undo (TCL_args args) |
restore model to state changes ago More... | |
string | valueId (const string &x) |
void | setBusyCursor () override |
set/clear busy cursor in GUI More... | |
void | clearBusyCursor () override |
void | message (const std::string &m) override |
display a message in a popup box on the GUI More... | |
void | runItemDeletedCallback (const Item &item) override |
run callback attached to item More... | |
MemCheckResult | checkMemAllocation (std::size_t bytes) const override |
OperationType::Group | classifyOp (OperationType::Type o) const |
CLASSDESC_ACCESS (MinskyTCL) | |
![]() | |
void | addNewPublicationTab (const std::string &name) |
void | addCanvasItemToPublicationTab (size_t i) |
bool | multipleEquities () const |
bool | multipleEquities (const bool &m) |
bool | edited () const |
reflects whether the model has been changed since last save More... | |
bool | reset_flag () const |
true if reset needs to be called prior to numerical integration More... | |
void | markEdited () |
indicate model has been changed since last saved More... | |
void | requestReset () |
void | requestRedraw () |
requests a redraw of the curren active tab More... | |
bool | resetIfFlagged () override |
checks whether a reset is required, and resets the simulation if so More... | |
void | populateMissingDimensions () |
fills in dimensions table with all loaded ravel axes More... | |
void | populateMissingDimensionsFromVariable (const VariableValue &, bool &incompatibleMessageDisplayed) |
populate missing dimensions from a variableValue More... | |
void | populateMissingDimensionsFromVariable (const VariableValue &v) |
void | renameDimension (const std::string &oldName, const std::string &newName) |
void | setGodleyIconResource (const string &s) |
void | setGroupIconResource (const string &s) |
void | setLockIconResource (const string &locked, const string &unlocked) |
void | setRavelIconResource (const string &s) |
std::set< string > | matchingTableColumns (const GodleyIcon &currTable, GodleyAssetClass::AssetClass ac) |
void | importDuplicateColumn (GodleyTable &srcTable, int srcCol) |
find any duplicate column, and use it as a source column for balanceDuplicateColumns More... | |
void | balanceDuplicateColumns (const GodleyIcon &srcTable, int srcCol) |
makes all duplicated columns consistent with srcTable, srcCol More... | |
std::vector< std::string > | allGodleyFlowVars () const |
Minsky () | |
~Minsky () | |
void | clearAllMaps (bool clearHistory) |
void | clearAllMaps () |
void | clearAllMapsTCL () |
VariablePtr | definingVar (const std::string &valueId) const |
returns reference to variable defining (ie input wired) for valueId More... | |
void | saveCanvasItemAsFile (const string &fileName) const |
void | initGodleys () |
void | cut () |
erase items in current selection, put copy into clipboard More... | |
void | copy () const |
copy items in current selection into clipboard More... | |
void | paste () |
paste clipboard as a new group or ungrouped items on the canvas. canvas.itemFocus is set to refer to the new group or items. More... | |
bool | clipboardEmpty () const |
return true if nothing available in clipboard More... | |
void | saveSelectionAsFile (const string &fileName) const |
void | insertGroupFromFile (const string &file) |
void | makeVariablesConsistent () |
void | imposeDimensions () |
void | garbageCollect () |
bool | cycleCheck () const |
checks for presence of illegal cycles in network. Returns true if there are some More... | |
void | openLogFile (const string &) |
opens the log file, and writes out a header line describing names of all variables More... | |
void | closeLogFile () |
closes log file More... | |
bool | loggingEnabled () const |
returns true if logging is in operation More... | |
void | constructEquations () |
construct the equations based on input data More... | |
void | dimensionalAnalysis () const |
performs dimension analysis, throws if there is a problem More... | |
void | deleteAllUnits () |
removes units markup from all variables in model More... | |
bool | checkEquationOrder () const |
consistency check of the equation order. Should return true. Outputs the operation number of the invalidly ordered operation. More... | |
double | deltaT () const |
void | reset () |
resets the variables back to their initial values More... | |
std::vector< double > | step () |
step the equations (by n steps, default 1) More... | |
void | save (const std::string &filename) |
void | load (const std::string &filename) |
load from a file More... | |
void | exportSchema (const std::string &filename, int schemaLevel=1) |
void | displayErrorItem (const Item &op) const |
indicate operation item has error, if visible, otherwise contining group More... | |
std::string | ecolabVersion () const |
std::string | ravelVersion () const |
std::string | autoSaveFile () const |
name of an auto save file More... | |
void | setAutoSaveFile (const std::string &file) |
initialises auto saving empty file to turn off autosave More... | |
void | clearHistory () |
clear history More... | |
void | checkPushHistory () |
called periodically to ensure history up to date More... | |
bool | pushHistory () |
push current model state onto history if it differs from previous More... | |
bool | commandHook (const std::string &command, unsigned nargs) |
Executed after each interpreter command to maintain undo/redo stack, edited flag, autosaving etc. More... | |
long | undo (int changes=1) |
restore model to state changes ago More... | |
void | convertVarType (const std::string &name, VariableType::Type type) |
Converts variable(s) named by name into a variable of type type. More... | |
void | addIntegral () |
add integral to current canvas item (which must be variable convertible to an integral variable More... | |
bool | inputWired (const std::string &name) const |
returns true if any variable of name name has a wired input More... | |
void | renderCanvasToPS (const std::string &filename) |
render canvas to a postscript file More... | |
void | renderCanvasToPDF (const std::string &filename) |
render canvas to a PDF file More... | |
void | renderCanvasToSVG (const std::string &filename) |
render canvas to an SVG file More... | |
void | renderCanvasToPNG (const std::string &filename) |
render canvas to a PNG image file More... | |
void | renderCanvasToPNG (const std::string &filename, const Canvas::ZoomCrop &z) |
Render canvas to a PNG file filename, scaling the canvas temporarily by zoom, shifts it to left, top, and crops to width, height (in ZoomCrop struct). More... | |
void | renderCanvasToEMF (const std::string &filename) |
render canvas to a EMF image file (Windows only) More... | |
void | renderAllPlotsAsSVG (const string &prefix) const |
render all plots More... | |
void | exportAllPlotsAsCSV (const string &prefix) const |
export all plots More... | |
void | setAllDEmode (bool) |
set DE mode on all godley tables More... | |
void | srand (int seed) |
set std library RNG seed More... | |
void | setGodleyDisplayValue (bool displayValues, GodleyTable::DisplayStyle displayStyle) |
set display value mode on all godley table editor modes More... | |
void | importVensim (const std::string &) |
import a Vensim file More... | |
void | redrawAllGodleyTables () |
request all Godley table windows to redraw More... | |
virtual void | progress (const std::string &title, int) |
set progress bar, out of 100, labelling the progress bar with title More... | |
virtual void | bookmarkRefresh () |
refresh the bookmark menu after changes More... | |
virtual void | resetScroll () |
reset main window scroll bars after model has been panned More... | |
virtual MemCheckResult | checkMemAllocation (size_t bytes) const |
std::size_t | physicalMem () const |
returns amount of memory installed on system More... | |
vector< string > | listFonts () const |
int | numOpArgs (OperationType::Type o) |
OperationType::Group | classifyOp (OperationType::Type o) const |
void | latex (const std::string &filename, bool wrapLaTeXLines) |
void | matlab (const std::string &filename) |
string | latex2pango (const std::string &x) |
std::vector< std::string > | availableOperations () |
list of available operations More... | |
Minsky::AvailableOperationsMapping | availableOperationsMapping () const |
std::vector< std::string > | variableTypes () |
list of available variable types More... | |
std::vector< std::string > | assetClasses () |
return list of available asset classes More... | |
void | autoLayout () |
auto layout current open group and recentre More... | |
void | randomLayout () |
randomly layout current open group and recentre reinitialises canvas to the group located in item More... | |
void | openGroupInCanvas () |
void | openModelInCanvas () |
reinitialises canvas to the toplevel group More... | |
void | listAllInstances () |
void | nameCurrentItem (const std::string &name) |
void | itemFromNamedItem (const std::string &name) |
bool | triggerCheckMemAllocationCallback () const |
trigger checkMem callback for testing purposes More... | |
char | getc () const |
Used to implement a pause until return pressed for attaching debugger purposes. More... | |
void | setDefinition (const std::string &valueId, const std::string &definition) |
add/replace a definition for a flow variable given by valueId More... | |
void | pushFlags () |
push and pop state of the flags More... | |
void | popFlags () |
push and pop state of the flags More... | |
std::string | defaultFont () |
the default used by Pango More... | |
std::string | defaultFont (const std::string &x) |
the default used by Pango More... | |
double | fontScale () |
an extra scaling factor of Pango fonts More... | |
double | fontScale (double) |
an extra scaling factor of Pango fonts More... | |
![]() | |
virtual | ~RungeKutta ()=default |
void | rkreset () |
reset the simulation More... | |
void | rkstep () |
step the equations (by n steps, default 1) evaluate the flow equations without stepping. More... | |
void | evalEquations () |
![]() | |
Minsky_multipleEquities (const std::string &name, ecolab::TCLAccessor< Minsky, bool >::Getter g, ecolab::TCLAccessor< Minsky, bool >::Setter s) | |
Static Public Member Functions | |
static int | numOpArgs (OperationType::Type o) |
![]() | |
static void | saveGroupAsFile (const Group &, const string &fileName) |
static bool | ravelAvailable () |
static bool | ravelExpired () |
static int | daysUntilRavelExpires () |
Public Attributes | |
bool | rebuildTCLcommands =false |
std::unique_ptr< std::ostream > | eventRecord |
ecolab::Accessor< std::string > | defaultFont |
![]() | |
PannableTab< EquationDisplay > | equationDisplay |
FontDisplay | fontSampler |
PhillipsDiagram | phillipsDiagram |
std::vector< PubTab > | publicationTabs |
VariableValues | variableValues |
Dimensions | dimensions |
Conversions | conversions |
std::map< Units, double > | maxValue |
stash the maximum absolute value obtained by a dimensioned quantity More... | |
std::map< Units, double > | maxFlowValue |
SVGRenderer | histogramResource |
Exclude< std::map< std::string, std::shared_ptr< CallableFunction > > > | userFunctions |
GroupPtr | model {new Group} |
Canvas | canvas {model} |
std::set< string > | logVarList |
set of variables (valueIds) to log More... | |
double | lastT {0} |
previous timestep More... | |
int | numBackups =1 |
number of previous versions of saved files to keep save to a file More... | |
std::string | fileVersion |
Minsky version file was saved under. More... | |
unsigned | maxHistory {100} |
maximum no. of history states to save More... | |
int | maxWaitMS =100 |
maximum wait in millisecond between redrawing canvas during simulation More... | |
bool | doPushHistory =true |
flag to indicate whether a TCL should be pushed onto the history stack, or logged in a recording. This is used to avoid movements being added to recordings and undo history More... | |
bool | displayValues =false |
GodleyTable::DisplayStyle | displayStyle =GodleyTable::sign |
std::shared_ptr< VariableInstanceList > | variableInstanceList |
supports navigation to all instances of current variable More... | |
std::map< std::string, std::weak_ptr< Item > > | namedItems |
VariablePane | variablePane |
![]() | |
double | t {0} |
time More... | |
bool | running =false |
controls whether simulation is running More... | |
bool | reverse =false |
reverse direction of simulation More... | |
EvalGodley | evalGodley |
![]() | |
double | stepMin {0} |
double | stepMax {0.01} |
int | nSteps {1} |
double | epsRel {1e-2} |
double | epsAbs {1e-3} |
int | order {4} |
bool | implicit {false} |
int | simulationDelay {0} |
std::string | timeUnit |
double | tmax {INFINITY} |
double | t0 {0} |
Private Member Functions | |
CmdData | getCommandData (const std::string &command) const override |
return meta information on a given command More... | |
Private Attributes | |
std::unique_ptr< char[]> | _defaultFont |
Additional Inherited Members | |
![]() | |
enum | CmdData { no_command, is_const, is_setterGetter, generic } |
enum | MemCheckResult { OK, proceed, abort } |
check whether to proceed or abort, given a request to allocate bytes of memory. Implemented in MinskyTCL More... | |
using | AvailableOperationsMapping = classdesc::StringKeyMap< std::vector< OperationType::Type > > |
![]() | |
static const std::string | minskyVersion =MINSKY_VERSION |
return the AEGIS assigned version number More... | |
![]() | |
static std::vector< double, CIVITA_ALLOCATOR< double > > | stockVars |
vector of variables that are integrated via Runge-Kutta. These variables label the columns of the Godley table More... | |
static std::vector< double, CIVITA_ALLOCATOR< double > > | flowVars |
variables defined as a simple function of the stock variables, also known as lhs variables. These variables appear in the body of the Godley table More... | |
![]() | |
void | evalEquations (double result[], double, const double vars[]) |
void | evalJacobian (Matrix &, double, const double vars[]) |
![]() | |
static int | RKfunction (double, const double y[], double f[], void *) |
function to be integrated (internal use) More... | |
static int | jacobian (double, const double y[], double *, double dfdt[], void *) |
compute jacobian (internal use) More... | |
Definition at line 43 of file minskyTCL.h.
|
inline |
Definition at line 176 of file minskyTCL.h.
References minsky::Canvas::addGodley(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 180 of file minskyTCL.h.
References minsky::Canvas::addGroup(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 188 of file minskyTCL.h.
References minsky::Minsky::addIntegral(), minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 196 of file minskyTCL.h.
References minsky::Canvas::addLock(), minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 168 of file minskyTCL.h.
References minsky::Canvas::addNote(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 164 of file minskyTCL.h.
References minsky::Canvas::addOperation(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, minsky::op, and registerRef().
|
inline |
Definition at line 172 of file minskyTCL.h.
References minsky::Canvas::addPlot(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 192 of file minskyTCL.h.
References minsky::Canvas::addRavel(), minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 200 of file minskyTCL.h.
References minsky::Canvas::addSheet(), minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 184 of file minskyTCL.h.
References minsky::Canvas::addSwitch(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 160 of file minskyTCL.h.
References minsky::Canvas::addVariable(), minsky::Minsky::canvas, minsky::Canvas::itemFocus, and registerRef().
|
inlineoverride |
Definition at line 381 of file minskyTCL.h.
References minsky::Minsky::abort, ecolab::mainWin, minsky::Minsky::OK, minsky::Minsky::physicalMem(), and minsky::Minsky::proceed.
minsky::MinskyTCL::CLASSDESC_ACCESS | ( | MinskyTCL | ) |
|
inline |
Definition at line 392 of file minskyTCL.h.
References minsky::OperationType::classify().
|
inlineoverridevirtual |
Reimplemented from minsky::Minsky.
Definition at line 372 of file minskyTCL.h.
Referenced by loadVariableFromCSV().
|
inline |
Definition at line 209 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Minsky::convertVarType(), minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 205 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::groupSelection(), minsky::Canvas::itemFocus, and registerRef().
|
inline |
find first object of given type
Definition at line 253 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::GroupItems::items, minsky::Canvas::model, minsky::Minsky::model, and registerRef().
|
inline |
Definition at line 273 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::GroupItems::items, minsky::Minsky::model, and registerRef().
|
inline |
Definition at line 139 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::findVariableDefinition(), minsky::Canvas::item, and registerRef().
|
inlineoverrideprivatevirtual |
return meta information on a given command
Reimplemented from minsky::Minsky.
Definition at line 398 of file minskyTCL.h.
References minsky::getCommandData(), minsky::Minsky::is_const, minsky::Minsky::is_setterGetter, minsky::Minsky::no_command, and minsky::RungeKutta::t.
|
inline |
Definition at line 101 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::getItemAt(), minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 130 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::Canvas::itemFocus, and registerRef().
void minsky::MinskyTCL::getValue | ( | const std::string & | valueId | ) |
generate a TCL_obj referring to variableValues[valueId]
Definition at line 141 of file minskyTCL.cc.
References minsky::minskyTCL_obj(), and minsky::valueId().
|
inline |
Definition at line 150 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::getWireAt(), minsky::minskyTCL_obj(), and minsky::Canvas::wire.
|
inline |
Definition at line 214 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 91 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 81 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::Canvas::itemFocus, and registerRef().
|
inline |
Definition at line 317 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::minskyTCL_obj(), minsky::Canvas::model, and minsky::to_string().
|
inline |
load from a file
Definition at line 350 of file minskyTCL.h.
References minsky::Minsky::load(), and rebuildTCLcommands.
|
inline |
Definition at line 336 of file minskyTCL.h.
References minsky::Minsky::canvas, clearBusyCursor(), minsky::Canvas::item, and setBusyCursor().
|
inline |
Definition at line 64 of file minskyTCL.h.
References minsky::Minsky::matchingTableColumns().
|
inlineoverridevirtual |
display a message in a popup box on the GUI
Reimplemented from minsky::Minsky.
Definition at line 375 of file minskyTCL.h.
|
static |
|
inline |
Definition at line 304 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::minskyTCL_obj(), and minsky::to_string().
|
inline |
reinitialises canvas to the group located in item
Definition at line 292 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, minsky::minskyTCL_obj(), minsky::Canvas::model, and minsky::Canvas::openGroupInCanvas().
|
inline |
reinitialises canvas to the toplevel group
Definition at line 297 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::minskyTCL_obj(), minsky::Canvas::model, minsky::Minsky::model, and minsky::Canvas::openGroupInCanvas().
void minsky::MinskyTCL::operationIcon | ( | const char * | imageName, |
const char * | opName | ||
) | const |
fill in a Tk image with the icon for a specific operation
Tk | imageName |
operationName |
Definition at line 189 of file minskyTCL.cc.
|
inline |
register item as a TCL obj under name if it exists, otherwise deregister it
Definition at line 73 of file minskyTCL.h.
References minsky::minskyTCL_obj().
Referenced by addGodley(), addGroup(), addIntegral(), addLock(), addNote(), addOperation(), addPlot(), addRavel(), addSheet(), addSwitch(), addVariable(), convertVarType(), createGroup(), findObject(), findVariable(), findVariableDefinition(), getItemAt(), getItemAtFocus(), groupOfItem(), itemFocusFromItem(), itemFromItemFocus(), resetItem(), retypeItem(), and selectVar().
|
inline |
Definition at line 221 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inline |
Definition at line 111 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, and registerRef().
|
inlineoverridevirtual |
run callback attached to item
Reimplemented from minsky::Minsky.
Definition at line 378 of file minskyTCL.h.
References minsky::Item::deleteCallback.
|
inline |
Definition at line 226 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::Canvas::item, registerRef(), and minsky::Canvas::selectVar().
|
inlineoverridevirtual |
set/clear busy cursor in GUI
Reimplemented from minsky::Minsky.
Definition at line 370 of file minskyTCL.h.
Referenced by loadVariableFromCSV().
void minsky::MinskyTCL::setColour | ( | std::size_t | i, |
const char * | name | ||
) |
sets the colour of palette item i to Tk acceptable colour name
Definition at line 219 of file minskyTCL.cc.
References minsky::anonymous_namespace{minskyTCL.cc}::scale().
|
inline |
Definition at line 51 of file minskyTCL.h.
References eventRecord, and minsky::Minsky::minskyVersion.
|
inline |
|
inline |
create a TCL controlled object that is a reference to item
Definition at line 236 of file minskyTCL.h.
References minsky::Minsky::canvas, minsky::deleteTclObject< Item >(), minsky::Canvas::item, minsky::minskyTCL_obj(), and minsky::to_string().
|
inline |
restore model to state changes ago
Definition at line 358 of file minskyTCL.h.
References minsky::Minsky::undo().
|
inline |
Definition at line 363 of file minskyTCL.h.
References minsky::valueId().
|
private |
Definition at line 396 of file minskyTCL.h.
ecolab::Accessor<std::string> minsky::MinskyTCL::defaultFont |
Definition at line 365 of file minskyTCL.h.
std::unique_ptr<std::ostream> minsky::MinskyTCL::eventRecord |
Definition at line 50 of file minskyTCL.h.
Referenced by minsky::member_entry_hook(), startRecording(), and stopRecording().
bool minsky::MinskyTCL::rebuildTCLcommands =false |
Definition at line 45 of file minskyTCL.h.
Referenced by load(), and minsky::member_entry_hook().