Uses standard C++ memory allocation for the column data pages.
Definition at line 63 of file RPageAllocator.hxx.
Public Member Functions | |
RPage | NewPage (ColumnId_t columnId, std::size_t elementSize, std::size_t nElements) final |
Reserves memory large enough to hold nElements of the given size. | |
Public Member Functions inherited from ROOT::Experimental::Internal::RPageAllocator | |
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::Experimental::Internal::RPageAllocator.
Definition at line 33 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::Experimental::Internal::RPageAllocator.
Definition at line 23 of file RPageAllocator.cxx.