#include <opennurbs_rtree.h>
Classes | |
struct | Blk |
Public Member Functions | |
struct ON_RTreeListNode * | AllocListNode () |
ON_RTreeNode * | AllocNode () |
void | DeallocateAll () |
void | FreeListNode (struct ON_RTreeListNode *list_node) |
void | FreeNode (ON_RTreeNode *node) |
ON_RTreeMemPool (ON_MEMORY_POOL *heap, size_t leaf_count) | |
size_t | SizeOf () const |
size_t | SizeOfUnusedBuffer () const |
~ON_RTreeMemPool () | |
Private Member Functions | |
void | GrowBuffer () |
Private Attributes | |
struct Blk * | m_blk_list |
unsigned char * | m_buffer |
size_t | m_buffer_capacity |
ON_MEMORY_POOL * | m_heap |
struct Blk * | m_list_nodes |
struct Blk * | m_nodes |
size_t | m_sizeof_blk |
size_t | m_sizeof_heap |
Definition at line 149 of file opennurbs_rtree.h.
ON_RTreeMemPool::ON_RTreeMemPool | ( | ON_MEMORY_POOL * | heap, |
size_t | leaf_count | ||
) |
Definition at line 168 of file opennurbs_rtree.cpp.
Definition at line 181 of file opennurbs_rtree.cpp.
struct ON_RTreeListNode * ON_RTreeMemPool::AllocListNode | ( | ) | [read] |
Definition at line 259 of file opennurbs_rtree.cpp.
Definition at line 219 of file opennurbs_rtree.cpp.
void ON_RTreeMemPool::DeallocateAll | ( | ) |
Definition at line 313 of file opennurbs_rtree.cpp.
void ON_RTreeMemPool::FreeListNode | ( | struct ON_RTreeListNode * | list_node | ) |
Definition at line 283 of file opennurbs_rtree.cpp.
void ON_RTreeMemPool::FreeNode | ( | ON_RTreeNode * | node | ) |
Definition at line 249 of file opennurbs_rtree.cpp.
void ON_RTreeMemPool::GrowBuffer | ( | ) | [private] |
Definition at line 186 of file opennurbs_rtree.cpp.
size_t ON_RTreeMemPool::SizeOf | ( | ) | const |
Definition at line 293 of file opennurbs_rtree.cpp.
size_t ON_RTreeMemPool::SizeOfUnusedBuffer | ( | ) | const |
Definition at line 298 of file opennurbs_rtree.cpp.
struct Blk* ON_RTreeMemPool::m_blk_list [private] |
Definition at line 192 of file opennurbs_rtree.h.
unsigned char* ON_RTreeMemPool::m_buffer [private] |
Definition at line 189 of file opennurbs_rtree.h.
size_t ON_RTreeMemPool::m_buffer_capacity [private] |
Definition at line 190 of file opennurbs_rtree.h.
ON_MEMORY_POOL* ON_RTreeMemPool::m_heap [private] |
Definition at line 195 of file opennurbs_rtree.h.
struct Blk* ON_RTreeMemPool::m_list_nodes [private] |
Definition at line 186 of file opennurbs_rtree.h.
struct Blk* ON_RTreeMemPool::m_nodes [private] |
Definition at line 184 of file opennurbs_rtree.h.
size_t ON_RTreeMemPool::m_sizeof_blk [private] |
Definition at line 193 of file opennurbs_rtree.h.
size_t ON_RTreeMemPool::m_sizeof_heap [private] |
Definition at line 196 of file opennurbs_rtree.h.