Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RPage.cxx
Go to the documentation of this file.
1/// \file RPage.cxx
2/// \author Jakob Blomer <jblomer@cern.ch>
3/// \date 2018-10-04
4
5/*************************************************************************
6 * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. *
7 * All rights reserved. *
8 * *
9 * For the licensing terms see $ROOTSYS/LICENSE. *
10 * For the list of contributors see $ROOTSYS/README/CREDITS. *
11 *************************************************************************/
12
13#include <ROOT/RPage.hxx>
15
17{
19 fPageAllocator->DeletePage(*this);
20}
21
23{
24 static const auto pageZero = std::make_unique<unsigned char[]>(kPageZeroSize);
25 return pageZero.get();
26}
static constexpr size_t kPageZeroSize
Definition RPage.hxx:47
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:22
RPageAllocator * fPageAllocator
The allocator used to allocate fBuffer. Can be null if the buffer doesn't need to be freed.
Definition RPage.hxx:69