Main Page | Class List | File List | Class Members

LRU_STACK.hpp

00001 
00002 #include <iostream>
00003 
00004 #ifndef _H_LRU_STACK
00005 #define _H_LRU_STACK
00006 
00008 class LRU_STACK {
00009     private:
00010 
00012         LRU_STACK();
00013 
00014     protected:
00015         
00017         unsigned long int * data;
00018 
00020         unsigned long int start_index;  
00021 
00023         unsigned long int k;
00024 
00025     public:
00026 
00028         LRU_STACK( unsigned long int _k );
00029 
00031         ~LRU_STACK();
00032 
00034         bool exists( unsigned long int &toCheck );
00035 
00037         bool remove( unsigned long int &toRemove );
00038 
00040         void push( unsigned long int &toPush );
00041 
00043         void clear();
00044 
00045 };
00046 
00047 #endif
00048 

Generated on Fri Aug 15 18:12:22 2008 for Run-timeCacheSimulator by  doxygen 1.3.9.1