Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RPage.cxx
Go to the documentation of this file.
1/// \file RPage.cxx
2/// \ingroup NTuple ROOT7
3/// \author Jakob Blomer <jblomer@cern.ch>
4/// \date 2018-10-04
5/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
6/// is welcome!
7
8/*************************************************************************
9 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
10 * All rights reserved. *
11 * *
12 * For the licensing terms see $ROOTSYS/LICENSE. *
13 * For the list of contributors see $ROOTSYS/README/CREDITS. *
14 *************************************************************************/
15
16#include <ROOT/RPage.hxx>
18
20{
23}
24
26{
27 static const auto pageZero = std::make_unique<unsigned char[]>(kPageZeroSize);
28 return pageZero.get();
29}
virtual void DeletePage(RPage &page)=0
Releases the memory pointed to by page and resets the page's information.
RPageAllocator * fPageAllocator
The allocator used to allocate fBuffer. Can be null if the buffer doesn't need to be freed.
Definition RPage.hxx:72
static const void * GetPageZeroBuffer()
Return a pointer to the page zero buffer used if there is no on-disk data for a particular deferred c...
Definition RPage.cxx:25