#include "hparamlist.h"

HParamBinObj


class description - source file - inheritance tree (.pdf)

class HParamBinObj : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
HParamBinObj

    public:
HParamBinObj() HParamBinObj(HParamBinObj&) HParamBinObj(const Text_t*, const UChar_t*, const Int_t) HParamBinObj(const Text_t*, const Short_t*, const Int_t) HParamBinObj(const Text_t*, const Int_t*, const Int_t) HParamBinObj(const Text_t*, const Float_t*, const Int_t) HParamBinObj(const Text_t*, const Double_t*, const Int_t) ~HParamBinObj() static TClass* Class() void fill(const Text_t*, UChar_t*, const Int_t) void fill(const Text_t*, Short_t*, const Int_t) void fill(const Text_t*, Int_t*, const Int_t) void fill(const Text_t*, Float_t*, const Int_t) void fill(const Text_t*, Double_t*, const Int_t) Int_t getClassVersion() Int_t getLength() Int_t getNumParams() const char* getParamType() const UChar_t* getParamValue() UChar_t* getStreamerInfo() Int_t getStreamerInfoSize() virtual TClass* IsA() const Bool_t isBasicType() HParamBinObj& operator=(const HParamBinObj&) void print() void setClassVersion(const Int_t v) void setLength(Int_t l) void setParamType(const Text_t* t) void setParamValue(UChar_t*, const Int_t) void setStreamerInfo(UChar_t*, const Int_t) void setStreamerInfoSize(Int_t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
UChar_t* paramValue Pointer to binary array Int_t arraySize Size of binary array TString paramType Type of original parameter array or class name Bool_t basicType kTRUE for basic type parameter arrays, kFALSE for classes Int_t classVersion Code version of classes stored as binary UChar_t* streamerInfo Pointer to binary array container the streamer info Int_t streamerInfoSize Size of streamer info array

Class Description


  HParamObj

  Class for single parameters of basic types or small arrays and used as
  list elements in HParamList::paramList.
  The values are stored as strings. Arrays are concatinated to a string as a
  comma-separated list.



HParamBinObj()
 Default constructor with type "u" for "unknown"

HParamBinObj(HParamBinObj& o)
 Copy constructor

HParamBinObj(const Text_t* name,const UChar_t* value,const Int_t length)
 Constructor for an array of UChar_t with arraylength lenght

HParamBinObj(const Text_t* name,const Short_t* value,const Int_t nValues)
 Constructor for an array of nValues elements of type Short_t

HParamBinObj(const Text_t* name,const Int_t* value,const Int_t nValues)
 Constructor for an array of nValues elements of type Int_t

HParamBinObj(const Text_t* name,const Float_t* value,const Int_t nValues)
 Constructor for an array of nValues elements of type Float_t

HParamBinObj(const Text_t* name,const Double_t* value,const Int_t nValues)
 Constructor for an array of nValues elements of type Double_t

~HParamBinObj()
 Destructor

void setParamType(const Text_t* t)
 Sets the parameter type. Accepted type names are:
     cBin for UChar_t
     hBin for Short_t
     iBin for Int_t
     fBin for Float_t
     dBin for Double_t
     class name

void setParamValue(UChar_t* value,const Int_t length)
 Sets the parameter value (the array is not copied!)

void setLength(Int_t l)
 Sets the length of the binary array

void setStreamerInfo(UChar_t* array,const Int_t length)
 Sets the parameter value (the array is not copied!)

void setStreamerInfoSize(Int_t l)
 Sets the length of the streamer info

void fill(const Text_t* name,UChar_t* value,const Int_t length)
 Sets the name and value (UChar_t array) of an existing object

void fill(const Text_t* name,Short_t* value,const Int_t nValues) // Sets the name and value (Short_t array) of an existing object

void fill(const Text_t* name,Int_t* value,const Int_t nValues)
 Sets the name and value (Intt_t array) of an existing object

void fill(const Text_t* name,Float_t* value,const Int_t nValues) // Sets the name and value (Float_t array) of an existing object

void fill(const Text_t* name,Double_t* value,const Int_t nValues) // Sets the name and value (Double_t array) of an existing object

Int_t getNumParams()
 returns the number of values in the array, respectively 1 for classes

void print()
 Prints the name and type of the parameters, respectively class name and version
 Prints also the numbers for an array of Short_t, Int_t, Float_t, Double_t.



Inline Functions


                 void setClassVersion(const Int_t v)
             UChar_t* getParamValue()
          const char* getParamType() const
               Bool_t isBasicType()
                Int_t getClassVersion()
                Int_t getLength()
             UChar_t* getStreamerInfo()
                Int_t getStreamerInfoSize()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
        HParamBinObj& operator=(const HParamBinObj&)


Last update: Mon Feb 5 16:52:01 2007


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.