libspatialindex API Reference  (git-trunk)
Tools::PoolPointer< X > Class Template Reference

#include <PoolPointer.h>

Inheritance diagram for Tools::PoolPointer< X >:
Inheritance graph
Collaboration diagram for Tools::PoolPointer< X >:
Collaboration graph

Public Member Functions

 PoolPointer (X *p=nullptr)
 
 PoolPointer (X *p, PointerPool< X > *pPool) noexcept
 
 ~PoolPointer ()
 
 PoolPointer (const PoolPointer &p) noexcept
 
PoolPointeroperator= (const PoolPointer &p)
 
X & operator* () const noexcept
 
X * operator-> () const noexcept
 
X * get () const noexcept
 
bool unique () const noexcept
 
void relinquish () noexcept
 

Detailed Description

template<class X>
class Tools::PoolPointer< X >

Definition at line 36 of file PoolPointer.h.

Constructor & Destructor Documentation

◆ PoolPointer() [1/3]

template<class X >
Tools::PoolPointer< X >::PoolPointer ( X *  p = nullptr)
inlineexplicit

Definition at line 39 of file PoolPointer.h.

◆ PoolPointer() [2/3]

template<class X >
Tools::PoolPointer< X >::PoolPointer ( X *  p,
PointerPool< X > *  pPool 
)
inlineexplicitnoexcept

Definition at line 40 of file PoolPointer.h.

◆ ~PoolPointer()

template<class X >
Tools::PoolPointer< X >::~PoolPointer ( )
inline

Definition at line 41 of file PoolPointer.h.

◆ PoolPointer() [3/3]

template<class X >
Tools::PoolPointer< X >::PoolPointer ( const PoolPointer< X > &  p)
inlinenoexcept

Definition at line 42 of file PoolPointer.h.

Member Function Documentation

◆ get()

◆ operator*()

template<class X >
X& Tools::PoolPointer< X >::operator* ( ) const
inlinenoexcept

Definition at line 53 of file PoolPointer.h.

◆ operator->()

template<class X >
X* Tools::PoolPointer< X >::operator-> ( ) const
inlinenoexcept

Definition at line 54 of file PoolPointer.h.

◆ operator=()

template<class X >
PoolPointer& Tools::PoolPointer< X >::operator= ( const PoolPointer< X > &  p)
inline

Definition at line 43 of file PoolPointer.h.

◆ relinquish()

template<class X >
void Tools::PoolPointer< X >::relinquish ( )
inlinenoexcept

Definition at line 57 of file PoolPointer.h.

Referenced by SpatialIndex::RTree::Index::chooseSubtree(), SpatialIndex::RTree::Leaf::deleteData(), and SpatialIndex::RTree::Index::findLeaf().

Here is the caller graph for this function:

◆ unique()

template<class X >
bool Tools::PoolPointer< X >::unique ( ) const
inlinenoexcept

Definition at line 56 of file PoolPointer.h.

Referenced by SpatialIndex::RTree::Index::chooseSubtree().

Here is the caller graph for this function:

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