Example #1
0
void Object::__store__(Stream & ss,unsigned char tag)
{
    Stores sts;
    if (tag == __LOAD__)
    {
        preLoad();
        sts.parseRecord(ss);
    }
    else
    {
        preStore();
    }
    __v_store__(sts,tag);
    if (tag == __LOAD__)
    {
        beLoaded();
    }
    else
    {
        ss = sts.toRecord();
        beStored();
    }
}