I'm trying to figure out a way to create an extension to the Directory 
class 
to allow loading and saving of a Directory instance's objects to disk. It 
would need to be insensitive to the type of object that it collects.

        I'm thinking that a SUBCLASS would be good for a first cut, but if it 
were 
implemented as a MIXINCLASS it could be potentially used for any collection?

        Since an object kept in a Directory can be more complex than a single 
string, 
the extension needs to know how to determine the boundaries of each field in 
the external record associated with the contained object.  Such a field 
separator needs to be passed to the Directory at initialization as a class 
attribute, but in the Reference manual I don't see a mechanism to do that.

        Is there a way to initialize a class attribute with ::METHOD INIT CLASS?

Leslie
-- 
                A Caution to Everybody

        Consider the Auk;
        Becoming extinct because he forgot how to fly, and could only walk.
        Consider man, who may well become extinct
        Because he forgot how to walk and learned how to fly before he thinked.

-- Ogden Nash

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to