minheap< T > Class Template Reference

#include <minmaxheap.hpp>

Inheritance diagram for minheap< T >:

Inheritance graph
base refererrect $classminheap.html 29,277 155,301rect $classminheap.html 179,277 362,301rect $classminmaxheap.html 7,109 286,133rect $classminmaxheap.html 47,19 246,43rect $structgetmax.html 228,354 313,378
[legend]

List of all members.


Detailed Description

template<typename T>
class minheap< T >

Definition at line 107 of file minmaxheap.hpp.


Public Member Functions

 minheap (int size_)
const T & max () const
const T & operator[] (int n) const
const T & operator() () const
void put (const T &elem)
void clear ()

Constructor & Destructor Documentation

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

Definition at line 109 of file minmaxheap.hpp.


Member Function Documentation

template<typename T>
const T& minheap< T >::max (  )  const [inline]

Definition at line 110 of file minmaxheap.hpp.

Referenced by main().

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

Definition at line 39 of file minmaxheap.hpp.

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

Definition at line 40 of file minmaxheap.hpp.

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

Referenced by main().

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

Definition at line 42 of file minmaxheap.hpp.


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