Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

packdata_list Class Template Reference

The packdata_list class is based on a subclass built from a FIFO_LIST<packdata *> instance of the FIFO_LIST template. More...

#include <packdata_list.h>

Inheritance diagram for packdata_list::

FIFO_LIST List of all members.

Public Methods

void pr ()
 Print the packet data list. More...


Detailed Description

template<class T> class packdata_list

The packdata_list class is based on a subclass built from a FIFO_LIST<packdata *> instance of the FIFO_LIST template.

The packdata_list is constructed by traversing the wavelet packet tree depth first, left to right. New elements are added to the end of the list, ordering the list from front to back. The resulting list reflects the ordering of the wavelet packet tree nodes the make up the best basis.

This class extends the FIFL_LIST instance by adding a print function.

Author:
Ian Kaplan

Definition at line 60 of file packdata_list.h.


Member Function Documentation

template<class T>
void packdata_list<T>::pr ( ) [inline]
 

Print the packet data list.

Each list element (which is a wavelet packet data set) is printed one element per line.

Definition at line 69 of file packdata_list.h.

Referenced by main().

00070   {
00071     handle h;
00072     packdata<T> *elem;
00073 
00074     for (h = first(); h != 0; h = next( h )) {
00075       elem = get_item( h );
00076       elem->pr();
00077     } // for h
00078     printf("\n");
00079   } // pr


The documentation for this class was generated from the following file:
Generated at Tue May 27 21:56:17 2003 for Wavelet compression, determinism and time series forecasting by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001