Logo ROOT   6.18/05
Reference Guide
TBulkBranchRead.hxx
Go to the documentation of this file.
1// Author: Brian Bockelman 14/06/17
2
3/*************************************************************************
4 * Copyright (C) 1995-2017, Rene Brun and Fons Rademakers. *
5 * All rights reserved. *
6 * *
7 * For the licensing terms see $ROOTSYS/LICENSE. *
8 * For the list of contributors see $ROOTSYS/README/CREDITS. *
9 *************************************************************************/
10
11#ifndef ROOT_TBulkBranchRead
12#define ROOT_TBulkBranchRead
13
14//////////////////////////////////////////////////////////////////////////
15// //
16// TBulkBranchRead //
17// //
18// TBulkBranchRead is used to check if a branch supports bulk API; //
19// it also includes a set of API that allows reading serialized data //
20// directly into user-defined buffer without going through ROOT- //
21// deserialization code path by default. //
22//////////////////////////////////////////////////////////////////////////
23
24#include "TBranch.h"
25
26namespace ROOT {
27namespace Experimental {
28namespace Internal {
29
31
32 friend class ::TBranch;
33
34public:
35 Int_t GetBulkEntries(Long64_t evt, TBuffer& user_buf);
37 Int_t GetEntriesSerialized(Long64_t evt, TBuffer& user_buf, TBuffer* count_buf);
39
40private:
42 : fParent(parent)
43 {}
44
46};
47
48} // Internal
49} // Experimental
50} // ROOT
51
52#endif // ROOT_TBulkBranchRead
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
long long Long64_t
Definition: RtypesCore.h:69
Int_t GetEntriesSerialized(Long64_t evt, TBuffer &user_buf)
Int_t GetBulkEntries(Long64_t evt, TBuffer &user_buf)
A TTree is a list of TBranches.
Definition: TBranch.h:65
Buffer base class used for serializing objects.
Definition: TBuffer.h:42
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21