Rhino C++ API  8.14
Classes | Public Member Functions | Static Public Attributes | List of all members
ON_RTreeMemPool Class Reference

#include <opennurbs_rtree.h>

Public Member Functions

 ON_RTreeMemPool ()=default
 
 ON_RTreeMemPool (size_t leaf_count)
 
 ~ON_RTreeMemPool ()
 
struct ON_RTreeListNode * AllocListNode ()
 
ON_RTreeNodeAllocNode ()
 
void DeallocateAll ()
 
void FreeListNode (struct ON_RTreeListNode *list_node)
 
void FreeNode (ON_RTreeNode *node)
 
size_t SizeOf () const
 
size_t SizeOfUnusedBuffer () const
 

Static Public Attributes

static const ON_RTreeMemPool Empty
 

Constructor & Destructor Documentation

◆ ON_RTreeMemPool() [1/2]

ON_RTreeMemPool::ON_RTreeMemPool ( )
default

◆ ON_RTreeMemPool() [2/2]

ON_RTreeMemPool::ON_RTreeMemPool ( size_t  leaf_count)

◆ ~ON_RTreeMemPool()

ON_RTreeMemPool::~ON_RTreeMemPool ( )

Member Function Documentation

◆ AllocListNode()

struct ON_RTreeListNode* ON_RTreeMemPool::AllocListNode ( )

◆ AllocNode()

ON_RTreeNode* ON_RTreeMemPool::AllocNode ( )

◆ DeallocateAll()

void ON_RTreeMemPool::DeallocateAll ( )

◆ FreeListNode()

void ON_RTreeMemPool::FreeListNode ( struct ON_RTreeListNode *  list_node)

◆ FreeNode()

void ON_RTreeMemPool::FreeNode ( ON_RTreeNode node)

◆ SizeOf()

size_t ON_RTreeMemPool::SizeOf ( ) const

Returns: Total number of bytes of heap memory allocated.

◆ SizeOfUnusedBuffer()

size_t ON_RTreeMemPool::SizeOfUnusedBuffer ( ) const

Returns: Number of bytes of heap memory not currently in use.

Member Data Documentation

◆ Empty

const ON_RTreeMemPool ON_RTreeMemPool::Empty
static