12 #ifndef TBASKETSQL_CXX
13 #define TBASKETSQL_CXX
28 namespace
std {}
using namespace std;
46 std::vector<Int_t> *vc,
TSQLRow **
r) :
47 fResultPtr(rs),fRowPtr(r)
86 std::vector<Int_t> *vc,
102 Error(
"CreateBuffer",
"Need a vector of columns\n");
130 Error(
"ReadBasketBytes",
"This member function should not be called!");
139 Error(
"ReadBasketBuffers",
"This member function should not be called!");
TBasketSQL()
Default constructor.
virtual void Reset()
See TBasket::Reset.
virtual void IncrementTotalBuffers(Int_t nbytes)
Implement TBuffer for a SQL backend.
Int_t * fEntryOffset
[fNevBuf] Displacement of entries in fBuffer(TKey)
virtual void SetName(const char *name)
Change (i.e.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Implement TTree for a SQL backend.
char * fBuffer
Object buffer.
void CreateBuffer(const char *name, TString title, std::vector< Int_t > *vc, TBranch *branch, TSQLResult **rs)
Create a TSQLBuffer for this basket.
virtual void Reset()
Reset the basket to the starting state.
TString fClassName
Object Class name.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
void PrepareBasket(Long64_t entry)
Prepare the basket for the next entry.
Manages buffers for branches of a Tree.
void Update(Int_t offset, Int_t skipped)
See TBasket::Update.
TBuffer * fBufferRef
Pointer to the TBuffer object.
virtual Int_t GetBasketSize() const
Implement TBasket for a SQL backend.
virtual Int_t ReadBasketBytes(Long64_t pos, TFile *file)
See TBasket::ReadBasketBytes. This is not implemented in TBasketSQL.
ClassImp(TBasketSQL) namespace std
Int_t GetEntryOffsetLen() const
A TTree is a list of TBranches.
virtual void SetTitle(const char *title="")
Change (i.e. set) the title of the TNamed.
virtual Int_t ReadBasketBuffers(Long64_t pos, Int_t len, TFile *file)
See TBasket::ReadBasketBuffers. This is not implemented in TBasketSQL.