ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/DataCont/interface/FastArrayBasic.h
(Generate patch)

Comparing UserCode/MitAna/DataCont/interface/FastArrayBasic.h (file contents):
Revision 1.6 by loizides, Fri Mar 6 13:52:54 2009 UTC vs.
Revision 1.7 by loizides, Thu Mar 12 18:19:47 2009 UTC

# Line 46 | Line 46 | namespace mithep
46        Bool_t                    IsOwner()                          const { return kTRUE;        }
47        TObject                  *ObjAt(UInt_t /*idx*/)                    { return 0;            }
48        const TObject            *ObjAt(UInt_t /*idx*/)              const { return 0;            }
49 <      void                      Reset()                                  { fSize = 0;           }
49 >      void                      Reset();
50        void                      Trim()                                   { Expand(fSize);       }
51        ArrayElement              UncheckedAt(UInt_t idx);                
52        const ArrayElement        UncheckedAt(UInt_t idx)            const;
# Line 180 | Line 180 | inline void mithep::FastArrayBasic<Array
180  
181   //-------------------------------------------------------------------------------------------------
182   template<class ArrayElement, Bool_t IsDouble32>
183 + void mithep::FastArrayBasic<ArrayElement, IsDouble32>::Reset()
184 + {
185 +  // Reset this array.
186 +
187 +  fSize = 0;
188 +  BaseCollection::Clear();
189 + }
190 +
191 + //-------------------------------------------------------------------------------------------------
192 + template<class ArrayElement, Bool_t IsDouble32>
193   void mithep::FastArrayBasic<ArrayElement, IsDouble32>::Streamer(TBuffer &b)
194   {
195     // Stream all objects in the array to or from the I/O buffer.
# Line 218 | Line 228 | inline ArrayElement mithep::FastArrayBas
228  
229   //--------------------------------------------------------------------------------------------------
230   template<class ArrayElement, Bool_t IsDouble32>
231 < inline const ArrayElement mithep::FastArrayBasic<ArrayElement, IsDouble32>::UncheckedAt(UInt_t idx) const
231 > inline const ArrayElement
232 > mithep::FastArrayBasic<ArrayElement, IsDouble32>::UncheckedAt(UInt_t idx) const
233   {
234    // Return entry at given index.
235  
# Line 227 | Line 238 | inline const ArrayElement mithep::FastAr
238  
239   //--------------------------------------------------------------------------------------------------
240   template<class ArrayElement, Bool_t IsDouble32>
241 < inline const ArrayElement mithep::FastArrayBasic<ArrayElement, IsDouble32>::operator[](UInt_t idx) const
241 > inline const ArrayElement
242 > mithep::FastArrayBasic<ArrayElement, IsDouble32>::operator[](UInt_t idx) const
243   {
244    // Return entry at given index.
245  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines