As I understand it, that's not really what the Memento pattern is designed
for, though it can be used that way. If you want to serialize an object,
then you need a serialization framework that addresses issues such as nested
objects and such.
Memento is useful when you want to pass an object's state to a serialization / persistence framework (although it assumes the memento is (a) a copy and (b) simple enough to serialize) or load data into an object. I'll be publishing code illustrating this soon...
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive." -- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
