Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

VDKHeap< T > Class Template Reference

provide a templatized Heap More...

#include <vdkheap.h>

Inheritance diagram for VDKHeap< T >:

VDKContainer< T > List of all members.

Public Member Functions


Detailed Description

template<class T>
class VDKHeap< T >

provide a templatized Heap

Description
VDKHeap<T> class has a value semantic, all objects are copied from original values. All managed type T objects should provide:
Implementation notes
I suggest to use typedef's like:
typedef VDKHeap<someClass> SomeClassHeap;


Constructor & Destructor Documentation

template<class T>
VDKHeap< T >::VDKHeap  )  [inline]
 

Constructor makes an empty heap

template<class T>
VDKHeap< T >::VDKHeap T *  source,
int  size
 

Constructor

Parameters:
source an array of type T obejcts
array size

template<class T>
virtual VDKHeap< T >::~VDKHeap  )  [inline, virtual]
 

Destructor


Member Function Documentation

template<class T>
void VDKHeap< T >::Sort void   ) 
 

Sorts on nlog(n) time


The documentation for this class was generated from the following file:
Generated on Tue Aug 17 12:39:51 2004 for vdk 2.4.0 by doxygen 1.3.7