A functor for getting handles into a heap. More...
#include <HeapHandleArray.h>
Public Types | |
| typedef DataConstIterator | data_const_iterator |
| A const iterator into the data array. | |
| typedef HeapIterator | heap_iterator |
| An iterator into the heap. | |
Public Member Functions | |
| HeapHandleArray () | |
| Default constructor. Invalid pointers. | |
| template<class DataArray , class HandleArray > | |
| HeapHandleArray (const DataArray &data, HandleArray &handles) | |
| Construct from the data array and the handle array. | |
| HeapHandleArray (const HeapHandleArray &x) | |
| Copy constructor. | |
| heap_iterator | operator() (data_const_iterator h) const |
| Return the heap iterator for the handle. | |
| heap_iterator & | operator() (data_const_iterator h) |
| Return a reference to the heap iterator for the handle. | |
| template<class DataArray , class HandleArray > | |
| void | initialize (const DataArray &data, HandleArray &handles) |
| Initialize from the data array and the handle array. | |
A functor for getting handles into a heap.
| DataConstIterator | is a random access const iterator into the data array. | |
| HeapIterator | is a random access iterator into the heap. |
1.6.3