momo  3.9
momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous > Class Template Reference

#include <TreeNode.h>

Public Types

typedef TMemPoolParams MemPoolParams
 
template<typename ItemTraits >
using Node = internal::Node< ItemTraits, maxCapacity, capacityStep, MemPoolParams, isContinuous &&ItemTraits::isNothrowShiftable >
 

Static Public Member Functions

static size_t GetSplitItemIndex (size_t itemCount, size_t newItemIndex) noexcept
 

Static Public Attributes

static const size_t maxCapacity = tMaxCapacity
 
static const size_t capacityStep = tCapacityStep
 
static const bool isContinuous = tIsContinuous
 

Member Typedef Documentation

◆ MemPoolParams

template<size_t tMaxCapacity = 32, size_t tCapacityStep = (tMaxCapacity >= 16) ? tMaxCapacity / 8 : 2, typename TMemPoolParams = MemPoolParams<(tMaxCapacity < 64) ? 8 : 1>, bool tIsContinuous = true>
typedef TMemPoolParams momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous >::MemPoolParams

◆ Node

template<size_t tMaxCapacity = 32, size_t tCapacityStep = (tMaxCapacity >= 16) ? tMaxCapacity / 8 : 2, typename TMemPoolParams = MemPoolParams<(tMaxCapacity < 64) ? 8 : 1>, bool tIsContinuous = true>
template<typename ItemTraits >
using momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous >::Node = internal::Node<ItemTraits, maxCapacity, capacityStep, MemPoolParams, isContinuous && ItemTraits::isNothrowShiftable>

Member Function Documentation

◆ GetSplitItemIndex()

template<size_t tMaxCapacity = 32, size_t tCapacityStep = (tMaxCapacity >= 16) ? tMaxCapacity / 8 : 2, typename TMemPoolParams = MemPoolParams<(tMaxCapacity < 64) ? 8 : 1>, bool tIsContinuous = true>
static size_t momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous >::GetSplitItemIndex ( size_t  itemCount,
size_t  newItemIndex 
)
inlinestaticnoexcept

Member Data Documentation

◆ capacityStep

template<size_t tMaxCapacity = 32, size_t tCapacityStep = (tMaxCapacity >= 16) ? tMaxCapacity / 8 : 2, typename TMemPoolParams = MemPoolParams<(tMaxCapacity < 64) ? 8 : 1>, bool tIsContinuous = true>
const size_t momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous >::capacityStep = tCapacityStep
static

◆ isContinuous

template<size_t tMaxCapacity = 32, size_t tCapacityStep = (tMaxCapacity >= 16) ? tMaxCapacity / 8 : 2, typename TMemPoolParams = MemPoolParams<(tMaxCapacity < 64) ? 8 : 1>, bool tIsContinuous = true>
const bool momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous >::isContinuous = tIsContinuous
static

◆ maxCapacity

template<size_t tMaxCapacity = 32, size_t tCapacityStep = (tMaxCapacity >= 16) ? tMaxCapacity / 8 : 2, typename TMemPoolParams = MemPoolParams<(tMaxCapacity < 64) ? 8 : 1>, bool tIsContinuous = true>
const size_t momo::TreeNode< tMaxCapacity, tCapacityStep, TMemPoolParams, tIsContinuous >::maxCapacity = tMaxCapacity
static

The documentation for this class was generated from the following file: