Read Strategies
Chris Muller
chris at funkyobjects.org
Tue Sep 19 00:06:44 UTC 2006
No, it's only additive to the #minimumDepth. I had to look at the server method where it checks the depth while reading an object graph to see if a negative depth could be specified. Check out the method:
MaObjectBuffer>>
appendGraphUsing: aMaReadStrategy
into: aMaSerializedGraphBuffer
currentDepth: currentDepth
minDepth: minDepth
with: alreadyAppendedSet
filer: aMaObjectFiler
I agree it seems like that could be useful to subtract, but unfortunately it doesn't do that..
----- Original Message ----
From: Keith Hodges <keith_hodges at yahoo.co.uk>
To: magma at lists.squeakfoundation.org
Sent: Monday, September 18, 2006 1:48:17 AM
Subject: Read Strategies
Chris,
is it possible to set the read strategy subtractively. I.e to a deep
level with the exception of one attribute.
(MaReadStrategy new)
forAny: Page readToDepth: 4;
forVariableNamed: 'uselessStuff' readToDepth: 0.
many thanks in advance
Keith
___________________________________________________________
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
_______________________________________________
Magma mailing list
Magma at lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/magma
More information about the Magma
mailing list