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; |
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. |
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 |
|
|
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 |
|
|