23 #define KVRLIST_NOT_WITH_THIS_TYPE "No object found with type %s"
24 #define KVRLIST_NOT_WITH_THIS_NAME_AND_TYPE "No object found with name %s and type %s"
28 #include "TRefArray.h"
40 #ifdef __WITH_OLD_TREFARRAY
42 KVRList(Int_t size, Int_t lowerBound = 0) : TRefArray(size, lowerBound) {};
44 KVRList(TProcessID* pid = 0) : TRefArray(pid) {};
45 KVRList(Int_t s, TProcessID* pid) : TRefArray(s, pid) {};
46 KVRList(Int_t size, Int_t lowerBound = 0, TProcessID* pid = 0) : TRefArray(size, lowerBound, pid) {};
54 const Char_t* type)
const;
58 return TCollection::FindObject(obj);
62 return TCollection::FindObject(obj);
65 virtual void Execute(
const char* method,
const char* params,
67 virtual void Execute(TMethod* m, TObjArray* o, Int_t* i)
69 TObject::Execute(m, o, i);
72 #if ROOT_VERSION_CODE >= ROOT_VERSION(3,4,0)
73 virtual void Copy(TObject& obj)
const;
75 virtual void Copy(TObject& obj);
81 virtual void Print(Option_t* opt =
"")
const;
82 #ifdef __WITH_NEW_TCOLLECTION_PRINT
83 virtual void Print(Option_t* option, Int_t recurse)
const
85 TCollection::Print(option, recurse);
87 virtual void Print(Option_t* option,
const char* wildcard, Int_t recurse = 1)
const
89 TCollection::Print(option, wildcard, recurse);
91 virtual void Print(Option_t* option, TPRegexp& regexp, Int_t recurse = 1)
const
93 TCollection::Print(option, regexp, recurse);
96 #ifdef __WITH_TCOLLECTION_PRINT_WILDCARD
97 virtual void Print(Option_t* wildcard, Option_t* opt)
const
99 TCollection::Print(wildcard, opt);
Base class for KaliVeda framework.
Wrapper for TRefArray adding some functionality.
virtual Int_t GetSize() const
virtual void Print(Option_t *option, Int_t recurse) const
virtual KVBase * FindObjectByName(const Char_t *) const
Look for object with name "name" in the list.
KVRList(Int_t s, TProcessID *pid)
virtual TObject * FindObject(const TObject *obj) const
virtual KVBase * FindObject(const Char_t *name, const Char_t *type) const
virtual KVBase * FindObjectByType(const Char_t *) const
virtual void Execute(const char *method, const char *params, Int_t *error=0)
KVRList(Int_t size, Int_t lowerBound=0, TProcessID *pid=0)
virtual void Execute(TMethod *m, TObjArray *o, Int_t *i)
virtual KVBase * FindObjectByLabel(const Char_t *) const
virtual void Print(Option_t *opt="") const
Print description of all objects in list.
virtual void Copy(TObject &obj) const
virtual TObject * FindObject(const char *obj) const
KVRList(TProcessID *pid=0)
virtual void Print(Option_t *option, TPRegexp ®exp, Int_t recurse=1) const
virtual void Print(Option_t *option, const char *wildcard, Int_t recurse=1) const