Changeset 821 in Sophya for trunk/SophyaLib/BaseTools


Ignore:
Timestamp:
Apr 6, 2000, 10:49:39 AM (25 years ago)
Author:
ansari
Message:

Correction commentaires - Reza 06/04/2000

Location:
trunk/SophyaLib/BaseTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/ppersist.cc

    r816 r821  
    16861686    if (findObjectId(x,pos) > 0) 
    16871687      throw PError("POutPersist::assignObjectId() Error - Already serialized object ! ");
    1688     id += 1;  // Object Id starting at zero
     1688    id += 1;  // Bit 1 non zero -> Object can be referenced
    16891689    objreftag rt;
    16901690    rt.ppsoid = id;
  • trunk/SophyaLib/BaseTools/ppersist.h

    r802 r821  
    112112
    113113    enum {PPS_NULL = 0,             // this is a null object
    114           PPS_STRING = 1,           // string, length (2b) + data
     114          PPS_STRING = 1,           // string, length (4b) + data
    115115          PPS_OBJECT = 2,           // classId, data...
    116116          PPS_REFERENCE = 3,        // objectId
     
    123123          PPS_SIMPLE_ARRAY8 = 48    // 48 + number of bytes, up to 8 bytes, then 8 bytes of length
    124124    };
    125           // The following values are used PPS_SIMPLE and PPS_SIMPLE_ARRAY (Using OR)
     125  // The following values are used with PPS_SIMPLE and PPS_SIMPLE_ARRAY (Using OR)
    126126   enum  {PPS_DATATYPE_CHAR = 0,        // 0  : DataType=character
    127127          PPS_DATATYPE_FLOAT = 64,      // 64 : DataType=float
Note: See TracChangeset for help on using the changeset viewer.