Support for loading files in the Framsticks format. Used in the experiment definition to retrieve experiment state (see OnExpLoad function in standard.expdef). Registered objects (addClass) are handled automaticaly. Loader can call user functions defined by setBreakLabel.
| type and name | description | comments |
addClassfunction |
add class definition | |
removeClassfunction |
remove class definition | |
clearClassesfunction |
remove all definitions | |
gofunction |
load until next break | |
runfunction |
continue loading | |
statusinteger |
loader status | |
commentstring |
last comment | |
setBreakfunction |
define break condition | |
setBreakLabelfunction |
associate code label with the break condition | |
abortfunction |
abort loading | |
currentObjectobject field |
current object | |
objectNamestring |
current object's class name | |
loadObjectfunction |
load current object | |
skipObjectfunction |
skip current object | |
firstCommentinteger, 0 .. 1 (false/true) |
first comment | |
BeforeObjectinteger |
BeforeObject break condition | |
AfterObjectinteger |
AfterObject break condition | |
BeforeUnknowninteger |
BeforeUnknown break condition | |
OnCommentinteger |
OnComment break condition | |
OnErrorinteger |
OnError break condition | |