I am a proxy that stores additional
information to allow different versions of an object's representations
to be handled by the program. VersionableObjectProxies are backwards
compatible, that is you can support versioning even if you did not use
a VersionableObjectProxy for that class when the object was originarily
dumped. VersionableObjectProxy does not support classes that changed
shape across different versions. See the method comments for more
information.
1.204.1 VersionableObjectProxy class: saving and restoring
to
loadFrom: anObjectDumper
Retrieve the object. If the version number doesn't match the
#binaryRepresentationVersion answered by the class, call the class'
#convertFromVersion:withFixedVariables:instanceVariables:for: method.
The stored version number will be the first parameter to that method
(or nil if the stored object did not employ a VersionableObjectProxy),
the remaining parameters will be respectively the fixed instance
variables, the indexed instance variables (or nil if the class is
fixed), and the ObjectDumper itself.
If no VersionableObjectProxy, the class is sent #nonVersionedInstSize
to retrieve the number of fixed instance variables stored for the
non-versioned object.
1.204.2 VersionableObjectProxy: saving and restoring
dumpTo: anObjectDumper
Save the object with extra versioning information.
This document was generated
on July, 23 2009
using texi2html