#include <queue.h>
Public Methods | |
| queueElem (packnode< T > *n, size_t i) | |
| Initialize the queue element. More... | |
| void* | operator new (size_t num_bytes) | 
| allocate queueElem objects from a memory pool. More... | |
Public Attributes | |
| packnode<T>* | node | 
| size_t | indent | 
Private Methods | |
| queueElem () | |
| disallow the default constructor. More... | |
This class stores a pointer to a wavelet packet tree node (a packnode) and the indentation (in spaces) to be used when printing the tree.
Definition at line 57 of file queue.h.
      
  | 
  ||||
| 
 disallow the default constructor. 
 Definition at line 61 of file queue.h. 00061 {}
 | 
  
      
  | 
  ||||||
| 
 Initialize the queue element. 
 Definition at line 67 of file queue.h. 00068   {
00069     node = n;
00070     indent = i;
00071   }
 | 
  
      
  | 
  ||||
| 
 allocate queueElem objects from a memory pool. 
 Definition at line 74 of file queue.h. 00075   {
00076     block_pool mem_pool;
00077 
00078     void *mem_addr = mem_pool.pool_alloc( num_bytes );
00079     return mem_addr;      
00080   } // new
 | 
  
      
  | 
  |||
| 
 
  | 
  
      
  | 
  |||
| 
 
  | 
  
1.2.8.1 written by Dimitri van Heesch,
 © 1997-2001