#ifndef ROOT_TChainElement
#define ROOT_TChainElement
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class TBranch;
class TChainElement : public TNamed {
enum EStatusBits {
kHasBeenLookedUp = BIT(15)
};
protected:
Long64_t fEntries;
Int_t fNPackets;
Int_t fPacketSize;
Int_t fStatus;
void *fBaddress;
TString fBaddressClassName;
UInt_t fBaddressType;
Bool_t fBaddressIsPtr;
char *fPackets;
TBranch **fBranchPtr;
public:
TChainElement();
TChainElement(const char *title, const char *filename);
virtual ~TChainElement();
virtual void CreatePackets();
virtual void *GetBaddress() const {return fBaddress;}
virtual const char *GetBaddressClassName() const { return fBaddressClassName; }
virtual Bool_t GetBaddressIsPtr() const { return fBaddressIsPtr; }
virtual UInt_t GetBaddressType() const { return fBaddressType; }
virtual TBranch **GetBranchPtr() const { return fBranchPtr; }
virtual Long64_t GetEntries() const {return fEntries;}
virtual char *GetPackets() const {return fPackets;}
virtual Int_t GetPacketSize() const {return fPacketSize;}
virtual Int_t GetStatus() const {return fStatus;}
virtual Bool_t HasBeenLookedUp() { return TestBit(kHasBeenLookedUp); }
virtual void ls(Option_t *option="") const;
virtual void SetBaddress(void *add) {fBaddress = add;}
virtual void SetBaddressClassName(const char* clname) { fBaddressClassName = clname; }
virtual void SetBaddressIsPtr(Bool_t isptr) { fBaddressIsPtr = isptr; }
virtual void SetBaddressType(UInt_t type) { fBaddressType = type; }
virtual void SetBranchPtr(TBranch **ptr) { fBranchPtr = ptr; }
virtual void SetLookedUp(Bool_t y = kTRUE);
virtual void SetNumberEntries(Long64_t n) {fEntries=n;}
virtual void SetPacketSize(Int_t size = 100);
virtual void SetStatus(Int_t status) {fStatus = status;}
ClassDef(TChainElement,2);
};
#endif
Last change: Wed Jun 25 08:35:31 2008
Last generated: 2008-06-25 08:35
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.