Ignore:
Timestamp:
Dec 9, 2003, 7:36:31 PM (22 years ago)
Author:
ansari
Message:

remis declaration strptime pour gcc 2.95 et ajout statistiques en fin de fichier / modifs Write/ReadNameTagTable - Reza 9 Dec 2003

File:
1 edited

Legend:

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

    r2477 r2482  
    1818// -----------------------------------------------------------------
    1919
    20 
    21 //  strptime n'est pas defini sous Linux  - Reza Mars 2000
    22 #if defined(OS_LINUX) || defined(OS_MACOSX)
    23 extern "C" {
    24 char *strptime(const char *buf, const char *format, struct tm *tm);
    25 }
    26 #endif
    2720
    2821#define MAXTAGLEN 255
     
    382375//--
    383376
    384 //++
     377PInPersist::PInPersist(RawInOutStream * is, bool ad, bool scan)
     378  : PPFBinaryInputStream(is, ad, scan)
     379{
     380}
     381
    385382PInPersist::PInPersist(string const& flnm, bool scan)
    386383  : PPFBinaryInputStream(flnm, scan)
    387 //
    388 //      Constructeur. Ouvre le fichier.
    389 //--
    390384{
    391385}
     
    613607  //  Comptage d'objets ecrits
    614608  _nbobjs++;
     609  if (wobj_level > _maxnestlevel)  _maxnestlevel = wobj_level;
    615610  if (wobj_level == 1) _nbtlobjs++;
    616611  wobj_level--; 
     
    633628    PutRawU8(id);      // Writing the corresponding object Id
    634629    PutRawI8(pos);     // The original object position
     630    _nbrefs++;         // Compteur de nombre de reference ecrits
    635631    return true;
    636632  }
Note: See TracChangeset for help on using the changeset viewer.