Persistent
From Web Computing Documentation
(Difference between revisions)
(Created page with "<div class="class_definition"> interface '''<big>Persistent</big>''' </div> *web2grid **web2grid.core ***web2grid.core.iface ****web2grid.core.iface.Persistent …") |
|||
Line 20: | Line 20: | ||
Returns true if the object has been changed since the last serialization (save). |
Returns true if the object has been changed since the last serialization (save). |
||
− | |||
<div class="class_function_definition"> |
<div class="class_function_definition"> |
||
Line 31: | Line 30: | ||
Passes the object for serialization to the Serializer object. |
Passes the object for serialization to the Serializer object. |
||
− | |||
<div class="class_function_definition"> |
<div class="class_function_definition"> |
Latest revision as of 18:01, 11 August 2011
interface Persistent
- web2grid
- web2grid.core
- web2grid.core.iface
- web2grid.core.iface.Persistent
- web2grid.core.iface
- web2grid.core
[edit] Interface overview
The Persistent interface enables the class to be serialized and unserialized thus saved to and restored from persistent storage.
[edit] Public functions
isChanged () : Bool
Returns true if the object has been changed since the last serialization (save).
hxSerialize (s : haxe.Serializer)
s A Serializer object in which the object's content will be serialized.
Passes the object for serialization to the Serializer object.
unSerialize (s : haxe.Unserializer)
s An Unserializer from which the object can be retrieved.
Retrieves the object from the Unserializer.