<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hi Juan,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thanks for your response.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I’m not trying to serialize classes but instances of them.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Suppose theres a class called Memo with an ivar “content”</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Then I want to be able add to the instances the posibility of storing their data.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">fileOut is great for classes I use it a lot!</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">But I want a way to preserve data outside the image, so it can be loaded when a new image is used.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">thanks!</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Nacho</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div> <br> <div id="bloop_sign_1446835234075862016" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>Ignacio Sniechowski</div><div style="font-family:helvetica,arial;font-size:13px">Prosavic SRL<br>Sent with Airmail</div></div> <br><p class="airmail_on">On November 6, 2015 at 3:13:25 PM, Juan Vuletich (<a href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>Hi Nacho,
<br>
<br>On 11/1/2015 11:45 PM, nacho wrote:
<br>> Hi Folks,
<br>> I'm trying to add support for serializing instances of a class.
<br>> I'm looking at System-Object Storage
<br>> And in particular to the class SmartRefStream which seems to add that
<br>> functionality. However, the class has no comments and no examples.
<br>> Is there some example which uses this class? a short demo? an example?
<br>> Thanks in advance!!
<br>> best
<br>> Nacho
<br>>
<br>
<br>Are we browsing the same system? SmartRefStream class comment is 6016
<br>characters here. Superclass ReferenceStream has a class comments of 2875
<br>characters. DataStream and ReferenceStream have class methods that start
<br>with 'example'. Looking for references to these classes also brings
<br>useful examples of usage.
<br>
<br>In any case, the usual way to serialize classes is fileOut. Why doesn't
<br>this work for you? What problem are you trying to solve?
<br>
<br>Cheers,
<br>Juan Vuletich
<br></div></div></span></blockquote></body></html>