Loader class in Global context

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.

20 members:

type and namedescriptioncomments
function addClass
function
add class definition  
function removeClass
function
remove class definition  
function clearClasses
function
remove all definitions  
function go
function
load until next break  
function run
function
continue loading  
integer status
integer
loader status  
string comment
string
last comment  
function setBreak
function
define break condition  
function setBreakLabel
function
associate code label with the break condition  
function abort
function
abort loading  
object currentObject
object field
current object  
string objectName
string
current object's class name  
function loadObject
function
load current object  
function skipObject
function
skip current object  
integer firstComment
integer, 0 .. 1 (false/true)
first comment  
integer BeforeObject
integer
BeforeObject break condition  
integer AfterObject
integer
AfterObject break condition  
integer BeforeUnknown
integer
BeforeUnknown break condition  
integer OnComment
integer
OnComment break condition  
integer OnError
integer
OnError break condition  

Global context