[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SV: SV: Directory



On Sat, 2 Oct 1999, Bjarke Hammersholt Roune wrote:

>> >Oh yeah, and another thing. The File class will also need the virtual
>> >SerializeTo() and SerializeFrom() methods.
>>
>> Of course ;)
>>
>It'll also need SerializeContentTo(). Perhaps it should be
>SerializeHeaderTo(), SerializeHeaderFrom() and SerializeContentTo().

Shouldn't serialization be implemented using operator>> and operator<< ? I
think that would make a nice and clean API. 

---------------------+------------------------------------------------------
 Jan 'Chakie' Ekholm |    CS at Åbo Akademi University, Turku, Finland
    Linux Inside     | I'm the blue screen of death, no-one hears you scream