Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages  

FloatVectorStack.hpp

00001 #ifndef __FloatVectorStack__
00002 #define __FloatVectorStack__
00003 
00022 #include "FloatVectorList.hpp"
00023 
00024 class FloatVectorStack : public FloatVectorList
00025 {
00026 public:
00027 FloatVectorStack(int Nmax=5):FloatVectorList(Nmax){}
00028 virtual ~FloatVectorStack(){}
00029 
00030 bool                    push(FloatVector* newv){ add(newv); }
00031 FloatVector*    pop(){ return removeLast(); }  
00032 
00033 virtual void output(){printf("Stack "); FloatVectorList::output(); }
00034 };
00035 
00036 #endif
SourceForge.net Logo
Restoreinpaint sourceforge project `C++/Java Image Processing, Restoration, Inpainting Project'.

Bernard De Cuyper: Open Project Leader: Concept, design and development.
Bernard De Cuyper & Eddy Fraiha 2002, 2003. Bernard De Cuyper 2004. Open and free, for friendly usage only.
Modifications on Belgium ground of this piece of artistic work, by governement institutions or companies, must be notified to Bernard De Cuyper.
bern_bdc@hotmail.com