source: trunk/Mars/msql/MBasketSQL.h@ 20107

Last change on this file since 20107 was 15439, checked in by tbretz, 12 years ago
Removed all obsolete code from the root copied classes; now everything is returned asa double (enough for plots) and as a bonus time columns are now returned as a root axis-time; as a sql server reference MSqlServer is now used and tree is a member of MSqlServer.
File size: 1.2 KB
Line 
1#ifndef ROOT_MBasketSQL
2#define ROOT_MBasketSQL
3
4//////////////////////////////////////////////////////////////////////////
5// //
6// MBasketSQL //
7// //
8// Implement TBasket for a SQL backend //
9// //
10//////////////////////////////////////////////////////////////////////////
11
12#include "TBasket.h"
13
14class TSQLRow;
15
16class MBasketSQL : public TBasket
17{
18private:
19 MBasketSQL(const MBasketSQL&); // MBasketSQL objects are not copiable.
20 MBasketSQL& operator=(const MBasketSQL&); // MBasketSQL objects are not copiable.
21
22protected:
23 TSQLRow **fRowPtr; //!
24
25public:
26 MBasketSQL();
27 MBasketSQL(TBranch *b, TSQLRow **r, Int_t index, TString type);
28
29 void PrepareBasket(Long64_t entry);
30
31 virtual Int_t ReadBasketBuffers(Long64_t pos, Int_t len, TFile *file);
32 virtual Int_t ReadBasketBytes(Long64_t pos, TFile *file);
33
34 void Update(Int_t offset, Int_t skipped);
35
36 ClassDef(MBasketSQL,1) //the TBranch buffers
37
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.