registered attribute names (in declaration order)
"date" of previous change. We start at + 2 because we consider that an initialisation is a modification.
parent models (depending on this)
synchronized processes
id unique from server. It doesn't exist at creation but added after a sync of the server
id of the model
map[ id ] = obj for each objects starting from this recursively
{IFlatModelMap}
{string}
we do not take _set from Obj because we want a conversion if value is not a number
{boolean}
{boolean}
called by set. change_level should not be defined by the user (it permits to != change from child of from this)
{ReturnType
add attribute
add attribute
if this has been modified during the preceding round, f will be called If f is a process: process.onchange will be called each time this (or a child of this) will be modified. process.destructor will be called if this is destroyed. ... can be seen as a bind with an object
{Process}
To be redifined in children if needed
{boolean}
{Val}
Do nothing here, TBD in child if needed. Called in rem_attr if have no more parent.
dimensionnality of the object -> 0 for a scalar, 1 for a vector, ...
{number}
{boolean}
{*}
return a string which describes the changes in this and children since date
{string}
return true if this has changed since previous synchronisation due to a direct modification (not from a child one)
{boolean}
return true if this (or a child of this) has changed since the previous synchronisation
{boolean}
change attribute named nname to instanceOfModel (use references for comparison)
{void}
returns true if change is not "cosmetic"
{boolean}
remove attribute named name
modify data, using another values, or Model instances. Should not be redefined (but _set should be) returns true if object os modified
{boolean}
add / mod / rem attr to get the same data than o (assumed to be something like { key: val, ... })
modify state according to str. str can be the result of a previous @get_state
dimension of the object -> [] for a scalar, [ length ] for a vector, [ nb_row, nb_cols ] for a matrix...
{(number | number[])}
{boolean}
{string}
toggle true / false ( 1 / 0 )
{boolean}
recommanded to use Process | BindProcess, using Function can lead to error
Generated using TypeDoc
representation of a number