4#include "KVDataBranchHandler.h"
25 Error(
"KVDataBranchHandler",
"Offset for member %s of %s is 0", var, obj->GetName());
31 if (strcmp(prefix,
""))
SetName(
Form(
"%s.%s.%s", prefix, obj->GetName(), var));
33 SetType(
Form(
"%s/%s", GetName(),
type));
34 fBranch = fTree->GetBranch(GetName());
35 if (!ConnectBranch()) CreateBranch();
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
char * Form(const char *fmt,...)
Base class for KaliVeda framework.
virtual const Char_t * GetType() const
Handles TTree branches for storing member variables of classes.
virtual ~KVDataBranchHandler()
Destructor.
TBranch * fBranch
the branch
void * fAddr
address of variable
TBranch * CreateBranch()
Create new branch in TTree for member variable and return its address.
virtual void SetAddress(void *add)
const char * GetName() const override
virtual Int_t Branch(const char *folder, Int_t bufsize=32000, Int_t splitlevel=99)