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.
AfterObject
integer |
AfterObject break condition
|
BeforeObject
integer |
BeforeObject break condition
|
BeforeUnknown
integer |
BeforeUnknown break condition
|
comment
string |
last comment
|
currentObject
object |
current object
|
firstComment
integer, 0 .. 1 (false/true) |
first comment
|
objectName
string |
current object's class name
|
OnComment
integer |
OnComment break condition
|
OnError
integer |
OnError break condition
|
status
integer |
loader status
|
abort
doesn't return a value |
abort loading
function abort()
|
addClass
doesn't return a value |
add class definition
function addClass(object)
|
clearClasses
doesn't return a value |
remove all definitions
function clearClasses()
|
go
returns integer |
load until next break
function go()
|
loadObject
doesn't return a value |
load current object
function loadObject()
|
removeClass
doesn't return a value |
remove class definition
function removeClass(object)
|
run
returns integer |
continue loading
function run()
|
setBreak
doesn't return a value |
define break condition
function setBreak(integer break_conditions)
|
setBreakLabel
doesn't return a value |
associate code label with the break condition
function setBreakLabel(integer break_condition, string label)
|
skipObject
doesn't return a value |
skip current object
function skipObject()
|