maxheap< T > Class Template Reference

#include <minmaxheap.hpp>

Inheritance diagram for maxheap< T >:

Inheritance graph
base refererrect $classmaxheap.html 27,277 157,301rect $classmaxheap.html 181,277 370,301rect $classminmaxheap.html 7,109 286,133rect $classminmaxheap.html 47,19 246,43rect $structgetmin.html 236,354 316,378
[legend]

List of all members.


Detailed Description

template<typename T>
class maxheap< T >

Definition at line 114 of file minmaxheap.hpp.


Public Member Functions

 maxheap (int size_)
const T & min () const
const T & operator[] (int n) const
const T & operator() () const
void put (const T &elem)
void clear ()

Constructor & Destructor Documentation

template<typename T>
maxheap< T >::maxheap ( int  size_  )  [inline]

Definition at line 116 of file minmaxheap.hpp.


Member Function Documentation

template<typename T>
const T& maxheap< T >::min (  )  const [inline]

Definition at line 117 of file minmaxheap.hpp.

const T & minmaxheap< T , compbigger , compsmaller >::operator[] ( int  n  )  const [inline, inherited]

Definition at line 39 of file minmaxheap.hpp.

References minmaxheap< T, cmps, cmpb >::heap.

const T & minmaxheap< T , compbigger , compsmaller >::operator() (  )  const [inline, inherited]

Definition at line 40 of file minmaxheap.hpp.

References minmaxheap< T, cmps, cmpb >::heap.

void minmaxheap< T , compbigger , compsmaller >::put ( const T &  elem  )  [inherited]

Referenced by main().

void minmaxheap< T , compbigger , compsmaller >::clear (  )  [inline, inherited]

Definition at line 42 of file minmaxheap.hpp.

References minmaxheap< T, cmps, cmpb >::filled.


The documentation for this class was generated from the following file:

Generated on Fri Jul 24 12:49:18 2009 for Xgrayimg Library by  doxygen 1.5.5