Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2008, 11:09:34 PM (17 years ago)
Author:
scheusso
Message:

diffing work now: wohoo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/src/network/Synchronisable.cc

    r1180 r1199  
    147147    retVal.classID=this->classID;
    148148    retVal.length=getSize();
    149     COUT(4) << "Synchronisable getting data from objectID: " << retVal.objectID << " classID: " << retVal.classID << " length: " << retVal.length << std::endl;
     149    COUT(5) << "Synchronisable getting data from objectID: " << retVal.objectID << " classID: " << retVal.classID << " length: " << retVal.length << std::endl;
    150150    retVal.data=mem;
    151151    // copy to location
     
    163163        const char *data = ( ( *(std::string *) (*i)->var).c_str());
    164164        std::memcpy( retVal.data+n, (void*)data, (*i)->size);
    165         COUT(4) << "synchronisable: char: " << (const char *)(retVal.data+n) << " data: " << data << " string: " << *(std::string *)((*i)->var) << std::endl;
     165        COUT(5) << "synchronisable: char: " << (const char *)(retVal.data+n) << " data: " << data << " string: " << *(std::string *)((*i)->var) << std::endl;
    166166        n+=(*i)->size;
    167167        break;
     
    193193      case STRING:
    194194        (*i)->size = *(int *)data;
    195         COUT(4) << "string size: " << (*i)->size << std::endl;
     195        COUT(5) << "string size: " << (*i)->size << std::endl;
    196196        data+=sizeof(int);
    197197        *((std::string *)((*i)->var)) = std::string((const char*)data);
    198         COUT(4) << "synchronisable: char: " << (const char*)data << " string: " << std::string((const char*)data) << std::endl;
     198        COUT(5) << "synchronisable: char: " << (const char*)data << " string: " << std::string((const char*)data) << std::endl;
    199199        data += (*i)->size;
    200200        break;
     
    219219        tsize+=sizeof(int);
    220220        (*i)->size=((std::string *)(*i)->var)->length()+1;
    221         COUT(4) << "String size: " << (*i)->size << std::endl;
     221        COUT(5) << "String size: " << (*i)->size << std::endl;
    222222        tsize+=(*i)->size;
    223223        break;
Note: See TracChangeset for help on using the changeset viewer.