SAGA API
v9.6
|
#include <mat_tools.h>
Classes | |
class | CSG_PriorityQueueItem |
Public Member Functions | |
CSG_PriorityQueue (size_t maxSize=256) | |
virtual | ~CSG_PriorityQueue (void) |
void | Create (size_t maxSize=256) |
void | Destroy (void) |
bool | is_Empty (void) const |
size_t | Get_Size (void) const |
CSG_PriorityQueueItem * | Get_Item (size_t i) const |
void | Add (CSG_PriorityQueueItem *pItem) |
CSG_PriorityQueueItem * | Peek (void) const |
CSG_PriorityQueueItem * | Poll (void) |
CSG_PriorityQueueItem * | Minimum (void) const |
CSG_PriorityQueueItem * | Maximum (void) const |
Definition at line 274 of file mat_tools.h.
CSG_PriorityQueue::CSG_PriorityQueue | ( | size_t | maxSize = 256 | ) |
|
virtual |
Definition at line 507 of file mat_indexing.cpp.
References Destroy().
void CSG_PriorityQueue::Add | ( | CSG_PriorityQueueItem * | pItem | ) |
Definition at line 602 of file mat_indexing.cpp.
References Add(), CSG_PriorityQueue::CSG_PriorityQueueItem::Compare(), CSG_PriorityQueue(), Minimum(), and SG_Free().
Referenced by Add().
void CSG_PriorityQueue::Create | ( | size_t | maxSize = 256 | ) |
Definition at line 513 of file mat_indexing.cpp.
References Destroy(), and SG_Malloc().
Referenced by CSG_PriorityQueue().
void CSG_PriorityQueue::Destroy | ( | void | ) |
Definition at line 526 of file mat_indexing.cpp.
References SG_Free().
Referenced by Create(), and ~CSG_PriorityQueue().
|
inline |
Definition at line 299 of file mat_tools.h.
|
inline |
Definition at line 298 of file mat_tools.h.
|
inline |
Definition at line 297 of file mat_tools.h.
|
inline |
Definition at line 322 of file mat_tools.h.
|
inline |
Definition at line 307 of file mat_tools.h.
Referenced by Add().
|
inline |
Definition at line 303 of file mat_tools.h.
CSG_PriorityQueue::CSG_PriorityQueueItem * CSG_PriorityQueue::Poll | ( | void | ) |