Public Instance Methods : SstLWMarshalingStrategy
instVarReplacementFor: anObject at: slot
"ACTION
Allow @anObject to specify a replacement for the value in its
instance variable number @slot while it is being dumped out.
The replacement is defined by the @anObject's replacement method
(e.g., sstMarshalInstVarAt:with:). Users are expected to override
this method if they need to make sweeping changes to the
dumping technique.
PARAMETERS
anObject : <Object>
slot : <Integer>"
Categories
SST-API Developer
iterateOver: anObject onto: stream
"ACTION
Iterate over @anObject dumping its contents on @stream as defined
by @anObject's dumping method (e.g., sstMarshalIterateOnto:). Users
are expected to override this method if they need to make sweeping
changes to the dumping technique.
PARAMETERS
anObject : <Object>
stream : <SstSTObjectWriteStream>"
Categories
SST-API Developer
loadWith: loader from: stream register: flag
"ACTION
Load and answer the next element as described by @loader
from @stream. If @flag is true then ensure that the loaded object
is marked to maintain identity within @stream. Typically @loader
is a class but this is not required. @loader need only understand
the messages sent by this method (e.g., sstLoadFrom:register:).
Note that users are free to reimplement this method to change the
technique used for loading objects.
PARAMETERS
loader : <Object>
stream : <SstSTObjectReadStream>
flag : <Boolean>
RETURN VALUE
<Object>"
Categories
SST-API Developer
maintainIdentityFor: anObject
"ACTION
Answer true if identity within a stream should be maintained for
@anObject to when it is dumped out. This behavior is defined
by @anObject (typically using sstMarshalMaintainIdentity). Users are
expected to override this method if they need to make sweeping
changes to the dumping technique.
PARAMETERS
anObject : <Object>
RETURN VALUE
<Boolean>"
Categories
SST-API Developer
replacementFor: anObject
"ACTION
Allow @anObject to specify a replacement for itself when it is about
to be dumped out. The replacement is defined by the @anObject's
replacement method (e.g., sstReplacementWith:). Users are
expected to override this method if they need to make sweeping
changes to the dumping technique.
PARAMETERS
anObject : <Object>"
Categories
SST-API Developer
[FIRST] [PREV] [NEXT] [LAST]