Changeset 2698 in Sophya for trunk/SophyaLib/BaseTools/swsegdb.h


Ignore:
Timestamp:
Apr 27, 2005, 1:41:51 PM (20 years ago)
Author:
ansari
Message:

1/ Simplification de la classe gestionnairee PPersist ObjFile<T> (objfio.h)
2/ Ajout DECL_TEMP_SPEC ds ppftpointerio.h
3/ Nom specifique pour methode SegDBInterface::GetSegment() const devenu
SegDBInterface::GetCstSegment() const pour eviter l'appel a la methode non const
et adapatation classes derivees (segdatablock.h et swsegdb.h)
4/ Ajout SkipToNextObjet() ds PInPersist::ReadObject() (ppersist.cc) et protection contre pointeur NULL -> new DVList pour la lecture PPersist de DVList

Reza - 27 Avril 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/swsegdb.h

    r2695 r2698  
    9999  //! Return the current size of the segmented data structure
    100100  inline size_t Size() const    { return  mSRef->swp.size()*mSRef->segsize; }
    101   //! Return pointer to data segment \b k
     101  //! Return the pointer to data segment \b k
    102102  virtual T* GetSegment(size_t k)
    103103  {
     
    106106    return mSRef->buff;
    107107  }
    108          
    109   virtual T const * GetSegment(size_t k) const
     108  //! Return the const (read-only) pointer to data segment \b k         
     109  virtual T const * GetCstSegment(size_t k) const
    110110  {
    111111    getSeg(k);
Note: See TracChangeset for help on using the changeset viewer.