_HADES_CLASS_DESCRIPTION HParamObj Class for parameters stored in binary format in Oracle and used as list elements in HParamList::paramList. The overloaded constructors and fill-functions accept single values or arrays of type UChar_t, Int_t, UInt_t, Float_t, Double_t, char_t, Text_t. The arguments for arrays are the name of the parameter the pointer to the array the length of the array The data are automatically converted to an UChar_t array. For classes also the class version is stored, for ROOT classes also the TStreamerInfo. The input and output data format of UInt_t variables or arrays is HEX format with leadings zeros, for example 0x0000ffff. HParamList Class for the generic Oracle and ASCII interface for parameter containers derived from HParCond The class contains a list to stores objects of type HParamObj The list objects store the name, the value, the parameter type and some additional information depending for the object type. All add/addObject functions add an initialized parameter to the list for writing. The functions create a new list element and copy the data into this object. Add functions: 1. accepted basic types: Int_t, UInt_t, Float_t, Double_t, UChar_t 2. accepted ROOT arrays: TArrayI, TArrayF, TArrayD, TArrayC 3. accepted string: Text_t* This can be any text, for example also numbers in hexadecimal or scientific format. The number of characters must be specified (default 1). AddObject function: Accepts classes derived from TObject. The persistent data elements are streamed into an UChar_t array using the class streamer. For ROOT classes, for example histograms, the ROOT streamer info is stored in an additional binary array. All fill/fillObject functions convert the data in the list element back to the type of the parameter and copy them into the data element in the initialization process. 1. Single parameters of basic type: The functions return kFALSE, if the parameter is not in the list. 2. Arrays: a) If the array size is specified (return code Bool_t), the functions return kFALSE, if the number of data elements in the list objects is not the same. b) If the array size is not specified (return code Int_t), the array is recreated with the size of the number of data elements in the list object. The functions return the number of data elements or 0, if the parameter was not found. 3. Classes: The class version is checked and a warning printed, if it is not identical with the current version (typically class version of list object higher than version in the actual parameter container). The class streamer takes care for backward compatibility. A warning is printed, if the ROOT version is different from the current version. The function returns the number of bytes in the list object or 0, if the parameter was not found in the list.
HParamList() | |
HParamList(const HParamList&) | |
virtual | ~HParamList() |
void | TObject::AbstractMethod(const char* method) const |
void | add(HParamObj&) |
void | add(const Text_t*, const Text_t*) |
void | add(const Text_t*, Int_t) |
void | add(const Text_t*, UInt_t) |
void | add(const Text_t*, Float_t) |
void | add(const Text_t*, Double_t) |
void | add(const Text_t*, TArrayI&) |
void | add(const Text_t*, TArrayC&) |
void | add(const Text_t*, TArrayF&) |
void | add(const Text_t*, TArrayD&) |
void | add(const Text_t*, const UChar_t*, const Int_t) |
void | add(const Text_t*, const Int_t*, const Int_t) |
void | add(const Text_t*, const UInt_t*, const Int_t) |
void | add(const Text_t*, const Float_t*, const Int_t) |
void | add(const Text_t*, const Double_t*, const Int_t) |
void | addObject(const Text_t*, TObject*) |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TObject::Clear(Option_t* = "") |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
Bool_t | fill(const Text_t*, TArrayI*) |
Bool_t | fill(const Text_t*, TArrayC*) |
Bool_t | fill(const Text_t*, TArrayF*) |
Bool_t | fill(const Text_t*, TArrayD*) |
Bool_t | fill(const Text_t*, Text_t*, const Int_t) |
Bool_t | fill(const Text_t*, Int_t*, const Int_t nValues = 1) |
Bool_t | fill(const Text_t*, UInt_t*, const Int_t nValues = 1) |
Bool_t | fill(const Text_t*, Float_t*, const Int_t nValues = 1) |
Bool_t | fill(const Text_t*, Double_t*, const Int_t nValues = 1) |
Bool_t | fill(const Text_t*, UChar_t*, const Int_t nValues = 1) |
Bool_t | fillObject(const Text_t*, TObject*) |
HParamObj* | find(const Text_t* name) |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
virtual const char* | TObject::GetIconName() const |
TList* | getList() |
virtual const char* | TObject::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual const char* | TObject::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | TObject::IsZombie() const |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
void | TObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
HParamList& | operator=(const HParamList&) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
void | print() |
virtual void | TObject::Print(Option_t* option = "") const |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
Int_t | replace(const Text_t*, UChar_t*) |
Int_t | replace(const Text_t*, Int_t*) |
Int_t | replace(const Text_t*, UInt_t*) |
Int_t | replace(const Text_t*, Float_t*) |
Int_t | replace(const Text_t*, Double_t*) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(ostream& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
static void | TObject::SetObjectStat(Bool_t stat) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Adds a string parameter to the list name = name of the parameter value = string value
Adds a binary array of size nValues to the list
Adds an array of type Int_t and of size nValues as binary to the list
Adds an array of type UInt_t and of size nValues as binary to the list
Adds an array of type Float_t and of size nValues as binary to the list
Adds an array of type Double_t and of size nValues as binary to the list
Adds a TObject to the list, sets the class version and the streamer info for ROOT classes
Copies the data from the list object into the parameter value of type string
Copies the data from the list object into the parameter array of type UChar_t of size nValues. The function returns an error, if the array size of the list object is not equal to nValues.
Copies the data from the list object into the parameter array of type Int_t. The function returns an error, if the array size of the list object is not equal to nValues.
Copies the data from the list object into the parameter array of type Int_t. The function returns an error, if the array size of the list object is not equal to nValues.
Copies the data from the list object into the parameter array of type Float_t. The function returns an error, if the array size of the list object is not equal to nValues.
Copies the data from the list object into the parameter array of type Double_t. The function returns an error, if the array size of the list object is not equal to nValues.
Copies the data from the list object into the parameter value of type TArrayI The array is resized, if the number of data is different.
Copies the data from the list object into the parameter value of type TArrayC The array is resized, if the number of data is different.
Copies the data from the list object into the parameter value of type TArrayF The array is resized, if the number of data is different.
Copies the data from the list object into the parameter value of type TArrayD The array is resized, if the number of data is different.
Copies the data from the list object into the parameter array of type UChar_t. Recreates the array, if existing, and returns the number of array elements.
Copies the data from the list object into the parameter array of type Int_t. Recreates the array, if existing, and returns the number of array elements.
Copies the data from the list object into the parameter array of type UInt_t. Recreates the array, if existing, and returns the number of array elements.
Copies the data from the list object into the parameter array of type Float_t. Recreates the array, if existing, and returns the number of array elements.
Copies the data from the list object into the parameter array of type Double_t. Recreates the array, if existing, and returns the number of array elements.
Fills the object obj (must exist!) via the Streamer and returns the class version. Prints a warning if the class version in the list objects differs from the actual class version.