OpenMesh::Utils::HeapInterfaceT< HeapEntry > Struct Template Reference

#include <HeapT.hh>

List of all members.

Public Member Functions

int get_heap_position (const HeapEntry &_e)
 Get the heap position of HeapEntry _e.
bool greater (const HeapEntry &_e1, const HeapEntry &_e2)
 Comparison of two HeapEntry's: strict greater.
bool less (const HeapEntry &_e1, const HeapEntry &_e2)
 Comparison of two HeapEntry's: strict less.
void set_heap_position (HeapEntry &_e, int _i)
 Set the heap position of HeapEntry _e.

Detailed Description

template<class HeapEntry>
struct OpenMesh::Utils::HeapInterfaceT< HeapEntry >

This class demonstrates the HeapInterface's interface. If you want to build your customized heap you will have to specity a heap interface class and use this class as a template parameter for the class HeapT. This class defines the interface that this heap interface has to implement.

See also:
HeapT

Definition at line 87 of file HeapT.hh.


Member Function Documentation

template<class HeapEntry >
int OpenMesh::Utils::HeapInterfaceT< HeapEntry >::get_heap_position ( const HeapEntry &  _e  ) 

Get the heap position of HeapEntry _e.

template<class HeapEntry >
bool OpenMesh::Utils::HeapInterfaceT< HeapEntry >::greater ( const HeapEntry &  _e1,
const HeapEntry &  _e2 
)

Comparison of two HeapEntry's: strict greater.

template<class HeapEntry >
bool OpenMesh::Utils::HeapInterfaceT< HeapEntry >::less ( const HeapEntry &  _e1,
const HeapEntry &  _e2 
)

Comparison of two HeapEntry's: strict less.

template<class HeapEntry >
void OpenMesh::Utils::HeapInterfaceT< HeapEntry >::set_heap_position ( HeapEntry &  _e,
int  _i 
)

Set the heap position of HeapEntry _e.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:21 2013