27namespace Experimental {
97 other.fPageAllocator =
nullptr;
101 if (
this != &other) {
102 std::swap(
fBuffer, other.fBuffer);
143 return (clusterIndex.
GetIndex() >= clusterRangeFirst) &&
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Abstract interface to allocate and release pages.
Stores information about the cluster in which this page resides.
NTupleSize_t fIndexOffset
The first element index of the column in this cluster.
NTupleSize_t GetIndexOffset() const
RClusterInfo(NTupleSize_t id, NTupleSize_t indexOffset)
NTupleSize_t GetId() const
DescriptorId_t fId
The cluster number.
A page is a slice of a column that is mapped into memory.
void ResetCluster(const RClusterInfo &clusterInfo)
bool operator!=(const RPage &other) const
void Reset(NTupleSize_t rangeFirst)
Forget all currently stored elements (size == 0) and set a new starting index.
void * GrowUnchecked(ClusterSize_t::ValueType nElements)
Increases the number elements in the page.
bool operator==(const RPage &other) const
std::size_t GetCapacity() const
ClusterSize_t::ValueType GetClusterRangeFirst() const
RPage & operator=(const RPage &)=delete
RPage & operator=(RPage &&other)
std::size_t GetNBytes() const
The space taken by column elements in the buffer.
static constexpr size_t kPageZeroSize
NTupleSize_t GetGlobalRangeFirst() const
const RClusterInfo & GetClusterInfo() const
bool Contains(RClusterIndex clusterIndex) const
RPage(void *buffer, RPageAllocator *pageAllocator, ClusterSize_t::ValueType elementSize, ClusterSize_t::ValueType maxElements)
RClusterInfo fClusterInfo
std::uint32_t GetElementSize() const
std::uint32_t fMaxElements
The capacity of the page in number of elements.
std::uint32_t GetNElements() const
RPageAllocator * fPageAllocator
The allocator used to allocate fBuffer. Can be null if the buffer doesn't need to be freed.
bool Contains(NTupleSize_t globalIndex) const
void SetWindow(const NTupleSize_t rangeFirst, const RClusterInfo &clusterInfo)
Seek the page to a certain position of the column.
ClusterSize_t::ValueType GetClusterRangeLast() const
RPage(const RPage &)=delete
std::uint32_t fElementSize
NTupleSize_t GetGlobalRangeLast() const
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...
std::uint32_t GetMaxElements() const
Addresses a column element or field item relative to a particular cluster, instead of a global NTuple...
DescriptorId_t GetClusterId() const
ClusterSize_t::ValueType GetIndex() const
std::uint64_t NTupleSize_t
Integer type long enough to hold the maximum number of entries in a column.
RClusterSize ClusterSize_t
std::uint64_t DescriptorId_t
Distriniguishes elements of the same type within a descriptor, e.g. different fields.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...