KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
Public Member Functions | |
KVRList (Int_t s, TProcessID *pid) | |
KVRList (Int_t size, Int_t lowerBound=0, TProcessID *pid=0) | |
KVRList (TProcessID *pid=0) | |
virtual | ~ KVRList () |
virtual void | Copy (TObject &obj) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
virtual void | Execute (TMethod *m, TObjArray *o, Int_t *i) |
virtual TObject * | FindObject (const char *obj) const |
virtual KVBase * | FindObject (const Char_t *name, const Char_t *type) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual KVBase * | FindObject (KVBase *obj) const |
virtual KVBase * | FindObjectByLabel (const Char_t *) const |
virtual KVBase * | FindObjectByName (const Char_t *) const |
Look for object with name "name" in the list. More... | |
virtual KVBase * | FindObjectByType (const Char_t *) const |
virtual Int_t | GetSize () const |
virtual void | Print (Option_t *opt="") const |
Print description of all objects in list. More... | |
Public Member Functions inherited from TRefArray | |
TRefArray (const TRefArray &a) | |
TRefArray (Int_t s, Int_t lowerBound=0, TProcessID *pid=0) | |
TRefArray (Int_t s, TProcessID *pid) | |
TRefArray (TProcessID *pid=0) | |
virtual | ~TRefArray () |
void | Add (TObject *obj) |
virtual void | AddAfter (const TObject *after, 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 | AddBefore (const TObject *before, TObject *obj) |
virtual void | AddFirst (TObject *obj) |
virtual void | AddLast (TObject *obj) |
TObject * | After (const TObject *obj) const |
TObject * | At (Int_t idx) const |
TObject * | Before (const TObject *obj) const |
virtual Int_t | BinarySearch (TObject *obj, Int_t upto=kMaxInt) |
virtual void | Clear (Option_t *option="") |
virtual void | Compress () |
virtual void | Delete (Option_t *option="") |
virtual void | Expand (Int_t newSize) |
TObject * | First () const |
Int_t | GetEntries () const |
Int_t | GetEntriesFast () const |
Int_t | GetLast () const |
TObject ** | GetObjectRef (const TObject *obj) const |
TProcessID * | GetPID () const |
UInt_t | GetUID (Int_t at) const |
Int_t | IndexOf (const TObject *obj) const |
Bool_t | IsEmpty () const |
TObject * | Last () const |
Int_t | LowerBound () const |
TIterator * | MakeIterator (Bool_t dir=kIterForward) const |
TRefArray & | operator= (const TRefArray &a) |
virtual TObject * | operator[] (Int_t i) const |
virtual TObject * | Remove (TObject *obj) |
virtual TObject * | RemoveAt (Int_t idx) |
void | SetLast (Int_t last) |
virtual void | Sort (Int_t upto=kMaxInt) |
Public Member Functions inherited from TSeqCollection | |
virtual | ~TSeqCollection () |
virtual Bool_t | IsSorted () const |
Int_t | LastIndex () const |
Long64_t | Merge (TCollection *list) |
virtual void | RemoveAfter (TObject *after) |
virtual void | RemoveBefore (TObject *before) |
virtual void | RemoveFirst () |
virtual void | RemoveLast () |
void | UnSort () |
Public Member Functions inherited from TCollection | |
virtual | ~TCollection () |
virtual void | AddAll (const TCollection *col) |
void | AddVector (TObject *obj1,...) |
Bool_t | AssertClass (TClass *cl) const |
TIter | begin () const |
void | Browse (TBrowser *b) |
Int_t | Capacity () const |
virtual TObject * | Clone (const char *newname="") const |
Int_t | Compare (const TObject *obj) const |
Bool_t | Contains (const char *name) const |
Bool_t | Contains (const TObject *obj) const |
virtual void | Draw (Option_t *option="") |
virtual void | Dump () const |
TIter | end () const |
virtual const char * | GetName () const |
virtual Int_t | GrowBy (Int_t delta) const |
ULong_t | Hash () const |
Bool_t | IsArgNull (const char *where, const TObject *obj) const |
virtual Bool_t | IsFolder () const |
Bool_t | IsOwner () const |
Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsUsingRWLock () const |
virtual void | ls (Option_t *option="") const |
virtual TIterator * | MakeReverseIterator () const |
virtual Bool_t | Notify () |
TObject * | operator() (const char *name) const |
virtual void | Paint (Option_t *option="") |
virtual void | Print (Option_t *option, const char *wildcard, Int_t recurse=1) const |
virtual void | Print (Option_t *option, Int_t recurse) const |
virtual void | Print (Option_t *option, TPRegexp ®exp, Int_t recurse=1) const |
virtual void | RecursiveRemove (TObject *obj) |
void | RemoveAll () |
virtual void | RemoveAll (TCollection *col) |
void | SetCurrentCollection () |
void | SetName (const char *name) |
virtual void | SetOwner (Bool_t enable=kTRUE) |
virtual bool | UseRWLock () |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Additional Inherited Members | |
Public Types inherited from TRefArray | |
typedef TRefArrayIter | Iterator_t |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from TSeqCollection | |
static Int_t | ObjCompare (TObject *a, TObject *b) |
static void | QSort (TObject **a, Int_t first, Int_t last) |
static void | QSort (TObject **a, Int_t nBs, TObject ***b, Int_t first, Int_t last) |
static void | QSort (TObject **a, TObject **b, Int_t first, Int_t last) |
Static Public Member Functions inherited from TCollection | |
static void | EmptyGarbageCollection () |
static void | GarbageCollect (TObject *obj) |
static TCollection * | GetCurrentCollection () |
static void | StartGarbageCollection () |
Static Public Member Functions inherited from TObject | |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TCollection | |
kInitCapacity | |
kInitHashTableCapacity | |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Types inherited from TCollection | |
enum | EStatusBits |
Protected Member Functions inherited from TRefArray | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Int_t | GetAbsLast () const |
TObject * | GetFromTable (Int_t idx) const |
Bool_t | GetObjectUID (Int_t &uid, TObject *obj, const char *methodname) |
void | Init (Int_t s, Int_t lowerBound) |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
Protected Member Functions inherited from TSeqCollection | |
TSeqCollection () | |
virtual void | Changed () |
Protected Member Functions inherited from TCollection | |
TCollection () | |
virtual const char * | GetCollectionEntryName (TObject *entry) const |
virtual void | PrintCollectionEntry (TObject *entry, Option_t *option, Int_t recurse) const |
virtual void | PrintCollectionHeader (Option_t *option) const |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Protected Attributes inherited from TRefArray | |
Int_t | fLast |
Int_t | fLowerBound |
TProcessID * | fPID |
UInt_t * | fUIDs |
Protected Attributes inherited from TSeqCollection | |
Bool_t | fSorted |
Protected Attributes inherited from TCollection | |
TString | fName |
Int_t | fSize |
kIsOwner | |
kUseRWLock | |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
#include <KVRList.h>
|
inline |
|
inline |
|
inline |
Copy this list to obj As a KVRList is a list of references to objects, here we are simply copying the references, i.e. no new objects are created
Reimplemented from TObject.
Definition at line 139 of file KVRList.cpp.
Redefinition of TObject::Execute method. TObject::Execute is called for each object in the list in order, meaning that for each object the method "method" is executed with arguments "params".
Reimplemented from TObject.
Definition at line 185 of file KVRList.cpp.
|
inlinevirtual |
Reimplemented from TCollection.
Find an object in this list using its type and name. Requires a sequential scan till the object has been found. Returns 0 if object with specified name is not found.
Definition at line 106 of file KVRList.cpp.
Reimplemented from TCollection.
Definition at line 203 of file KVRList.cpp.
Find an object in this list using its label. Requires a sequential scan till the object has been found. Returns 0 if object with specified label is not found.
Definition at line 76 of file KVRList.cpp.
Look for object with name "name" in the list.
Definition at line 31 of file KVRList.cpp.
Find an object in this list using its type. Requires a sequential scan till the object has been found. Returns 0 if object with specified name is not found.
Definition at line 46 of file KVRList.cpp.
|
inlinevirtual |
Reimplemented from TCollection.
Print description of all objects in list.
Reimplemented from TCollection.
Definition at line 162 of file KVRList.cpp.