Uses standard C++ memory allocation for the column data pages.
Definition at line 60 of file RPageAllocator.hxx.
Public Member Functions | |
RPage | NewPage (std::size_t elementSize, std::size_t nElements) final |
Reserves memory large enough to hold nElements of the given size. | |
![]() | |
virtual | ~RPageAllocator ()=default |
Protected Member Functions | |
void | DeletePage (RPage &page) final |
Releases the memory pointed to by page and resets the page's information. | |
#include <ROOT/RPageAllocator.hxx>
|
finalprotectedvirtual |
Releases the memory pointed to by page and resets the page's information.
Note that the memory of the zero page must not be deleted. Called by the RPage destructor.
Implements ROOT::Internal::RPageAllocator.
Definition at line 29 of file RPageAllocator.cxx.
|
finalvirtual |
Reserves memory large enough to hold nElements of the given size.
The page is immediately tagged with a column id. Returns a default constructed page on out-of-memory condition.
Implements ROOT::Internal::RPageAllocator.
Definition at line 21 of file RPageAllocator.cxx.