#include <TObjArray.h>
Inheritance diagram for TObjArray:


Public Methods | |
| TObjArray (Int_t s=TCollection::kInitCapacity, Int_t lowerBound=0) | |
| TObjArray (const TObjArray &a) | |
| virtual | ~TObjArray () |
| virtual void | Clear (Option_t *option="") |
| virtual void | Compress () |
| virtual void | Delete (Option_t *option="") |
| virtual void | Expand (Int_t newSize) |
| Int_t | GetEntries () const |
| Int_t | GetEntriesFast () const |
| Int_t | GetLast () const |
| TObject ** | GetObjectRef (const TObject *obj) const |
| Bool_t | IsEmpty () const |
| TIterator * | MakeIterator (Bool_t dir=kIterForward) const |
| void | Add (TObject *obj) |
| virtual void | AddFirst (TObject *obj) |
| virtual void | AddLast (TObject *obj) |
| virtual void | AddAt (TObject *obj, Int_t idx) |
| virtual void | AddAtAndExpand (TObject *obj, Int_t idx) |
| virtual Int_t | AddAtFree (TObject *obj) |
| virtual void | AddAfter (TObject *after, TObject *obj) |
| virtual void | AddBefore (TObject *before, TObject *obj) |
| virtual TObject * | RemoveAt (Int_t idx) |
| virtual TObject * | Remove (TObject *obj) |
| TObject * | At (Int_t idx) const |
| TObject * | UncheckedAt (Int_t i) const |
| TObject * | Before (TObject *obj) const |
| TObject * | After (TObject *obj) const |
| TObject * | First () const |
| TObject * | Last () const |
| virtual TObject *& | operator[] (Int_t i) |
| virtual TObject * | operator[] (Int_t i) const |
| Int_t | LowerBound () const |
| Int_t | IndexOf (const TObject *obj) const |
| void | SetLast (Int_t last) |
| virtual void | Sort (Int_t upto=kMaxInt) |
| virtual Int_t | BinarySearch (TObject *obj, Int_t upto=kMaxInt) |
Protected Methods | |
| Bool_t | BoundsOk (const char *where, Int_t at) const |
| void | Init (Int_t s, Int_t lowerBound) |
| Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
| Int_t | GetAbsLast () const |
Protected Attributes | |
| TObject ** | fCont |
| Int_t | fLowerBound |
| Array contents. | |
| Int_t | fLast |
Friends | |
| class | TObjArrayIter |
| class | TClonesArray |
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 124 of file TObjArray.h. References fLowerBound, TCollection::fSize, and OutOfBoundsError(). Referenced by At(), and operator[](). |
|
||||||||||||
|
|
|
||||||||||||
|
Referenced by BoundsOk(). |
|
|
Referenced by GetEntriesFast(), and IsEmpty(). |
|
|
Implements TCollection. Reimplemented in TClonesArray. |
|
|
Reimplemented in TClonesArray. |
|
|
Implements TCollection. Reimplemented in TClonesArray. Referenced by TGeoManager::ClearTracks(). |
|
|
Reimplemented in TClonesArray. |
|
|
|
|
|
Definition at line 54 of file TObjArray.h. References GetAbsLast(). Referenced by TGeoVolumeMulti::GetLastShape(), TTree::GetNbranches(), TVirtualGeoTrack::GetNdaughters(), TGeoVolume::GetNdaughters(), TParticleClassPDG::GetNParticles(), TGeoVolumeMulti::GetNvolumes(), and TParticlePDG::NDecayChannels(). |
|
|
Referenced by TGenerator::GetNumberOfParticles(). |
|
|
Implements TCollection. |
|
|
Reimplemented from TCollection. Definition at line 57 of file TObjArray.h. References GetAbsLast(). |
|
|
Implements TCollection. |
|
|
Reimplemented from TSeqCollection. Definition at line 60 of file TObjArray.h. References AddLast(). Referenced by TParticleClassPDG::AddParticle(). |
|
|
Implements TSeqCollection. Reimplemented in TClonesArray. |
|
|
Implements TSeqCollection. Reimplemented in TClonesArray. Referenced by Add(). |
|
||||||||||||
|
Implements TSeqCollection. Reimplemented in TClonesArray. |
|
||||||||||||
|
Reimplemented in TClonesArray. |
|
|
Reimplemented in TClonesArray. |
|
||||||||||||
|
Implements TSeqCollection. Reimplemented in TClonesArray. |
|
||||||||||||
|
Implements TSeqCollection. Reimplemented in TClonesArray. |
|
|
Reimplemented from TSeqCollection. Reimplemented in TClonesArray. |
|
|
Implements TCollection. Reimplemented in TClonesArray. |
|
|
Implements TSeqCollection. Definition at line 151 of file TObjArray.h. References BoundsOk(), fCont, fLowerBound, and TCollection::fSize. Referenced by TVirtualGeoTrack::GetDaughter(), TGeoManager::GetLastTrack(), TGeoVolume::GetNode(), TParticleClassPDG::GetParticle(), TGeoManager::GetTrack(), TGeoVolumeMulti::GetVolume(), TGeoManager::GetVolume(), and TGeoManager::SetCurrentTrack(). |
|
|
Definition at line 72 of file TObjArray.h. Referenced by TGeoManager::GetNode(). |
|
|
Implements TSeqCollection. |
|
|
Implements TSeqCollection. |
|
|
Implements TSeqCollection. |
|
|
Implements TSeqCollection. |
|
|
Reimplemented in TClonesArray. Definition at line 131 of file TObjArray.h. References BoundsOk(), fCont, fLast, fLowerBound, and TCollection::fSize. |
|
|
Reimplemented in TClonesArray. Definition at line 142 of file TObjArray.h. References BoundsOk(), fCont, fLowerBound, and TCollection::fSize. |
|
|
Definition at line 79 of file TObjArray.h. References fLowerBound. |
|
|
Reimplemented from TSeqCollection. |
|
|
|
|
|
Reimplemented in TClonesArray. |
|
||||||||||||
|
|
|
|
Definition at line 32 of file TObjArray.h. |
|
|
Definition at line 33 of file TObjArray.h. |
|
|
Definition at line 36 of file TObjArray.h. Referenced by At(), and operator[](). |
|
|
Array contents.
Definition at line 37 of file TObjArray.h. Referenced by At(), BoundsOk(), LowerBound(), and operator[](). |
|
|
Definition at line 38 of file TObjArray.h. Referenced by operator[](). |
1.2.16