HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER > Class Template Reference

#include <UT_RTree.h>

Public Types

using Slot = std::make_unsigned_t< ITEM_INDEX_REP >
 

Public Member Functions

 RNodeT ()
 
 ~RNodeT ()
 
void clear ()
 
void setInternal (const bool isInternal)
 
void assignSubtree (const int s, const Slot index_root_subtree)
 
void assignItem (const int s, const ITEM_INDEX_REP item)
 
bool isInternal () const
 
Slot getSubtree (const int s) const
 
ITEM_INDEX_REP countNumItems () const
 
SYS_FORCE_INLINE ITEM_INDEX_REP getItemIndexRep (const int s) const
 

Public Attributes

Slot mySlots [MAX_ORDER]
 

Static Public Attributes

static const Slot SLOT_FLAG_INTERNAL = Slot( 1 ) << ( ( sizeof( Slot ) * 8 ) - 1 )
 
static const Slot SLOT_MASK_INDEX = SLOT_FLAG_INTERNAL - 1
 
static const Slot SLOT_VALUE_EMPTY = SLOT_MASK_INDEX
 

Detailed Description

template<typename ITEM_INDEX_REP, int MAX_ORDER>
class UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >

Definition at line 92 of file UT_RTree.h.

Member Typedef Documentation

template<typename ITEM_INDEX_REP , int MAX_ORDER>
using UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::Slot = std::make_unsigned_t< ITEM_INDEX_REP >

Definition at line 107 of file UT_RTreeImpl.h.

Constructor & Destructor Documentation

template<typename ITEM_INDEX_REP , int MAX_ORDER>
UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::RNodeT ( )
inline

Definition at line 109 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::~RNodeT ( )
inline

Definition at line 114 of file UT_RTreeImpl.h.

Member Function Documentation

template<typename ITEM_INDEX_REP , int MAX_ORDER>
void UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::assignItem ( const int  s,
const ITEM_INDEX_REP  item 
)
inline

Definition at line 145 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
void UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::assignSubtree ( const int  s,
const Slot  index_root_subtree 
)
inline

Definition at line 134 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
void UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::clear ( void  )
inline

Definition at line 118 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
ITEM_INDEX_REP UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::countNumItems ( ) const
inline

Definition at line 174 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
SYS_FORCE_INLINE ITEM_INDEX_REP UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::getItemIndexRep ( const int  s) const
inline

Definition at line 191 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
Slot UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::getSubtree ( const int  s) const
inline

Definition at line 163 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
bool UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::isInternal ( ) const
inline

Definition at line 155 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
void UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::setInternal ( const bool  isInternal)
inline

Definition at line 127 of file UT_RTreeImpl.h.

Member Data Documentation

template<typename ITEM_INDEX_REP , int MAX_ORDER>
Slot UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::mySlots[MAX_ORDER]

Definition at line 220 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
const Slot UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::SLOT_FLAG_INTERNAL = Slot( 1 ) << ( ( sizeof( Slot ) * 8 ) - 1 )
static

Definition at line 200 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
const Slot UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::SLOT_MASK_INDEX = SLOT_FLAG_INTERNAL - 1
static

Definition at line 201 of file UT_RTreeImpl.h.

template<typename ITEM_INDEX_REP , int MAX_ORDER>
const Slot UT::RNodeT< ITEM_INDEX_REP, MAX_ORDER >::SLOT_VALUE_EMPTY = SLOT_MASK_INDEX
static

Definition at line 202 of file UT_RTreeImpl.h.


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