Changeset 2482 in Sophya for trunk/SophyaLib/BaseTools/ppersist.cc
- Timestamp:
- Dec 9, 2003, 7:36:31 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppersist.cc
r2477 r2482 18 18 // ----------------------------------------------------------------- 19 19 20 21 // strptime n'est pas defini sous Linux - Reza Mars 200022 #if defined(OS_LINUX) || defined(OS_MACOSX)23 extern "C" {24 char *strptime(const char *buf, const char *format, struct tm *tm);25 }26 #endif27 20 28 21 #define MAXTAGLEN 255 … … 382 375 //-- 383 376 384 //++ 377 PInPersist::PInPersist(RawInOutStream * is, bool ad, bool scan) 378 : PPFBinaryInputStream(is, ad, scan) 379 { 380 } 381 385 382 PInPersist::PInPersist(string const& flnm, bool scan) 386 383 : PPFBinaryInputStream(flnm, scan) 387 //388 // Constructeur. Ouvre le fichier.389 //--390 384 { 391 385 } … … 613 607 // Comptage d'objets ecrits 614 608 _nbobjs++; 609 if (wobj_level > _maxnestlevel) _maxnestlevel = wobj_level; 615 610 if (wobj_level == 1) _nbtlobjs++; 616 611 wobj_level--; … … 633 628 PutRawU8(id); // Writing the corresponding object Id 634 629 PutRawI8(pos); // The original object position 630 _nbrefs++; // Compteur de nombre de reference ecrits 635 631 return true; 636 632 }
Note:
See TracChangeset
for help on using the changeset viewer.