00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef VTK_OBJECT_STACK_H_
00017 # define VTK_OBJECT_STACK_H_
00018 # include "vtkObjectBaseStack.h"
00019
00030 class VTK_CONTAINERS_EXPORT vtkObjectStack
00031 : public vtkObjectBaseStack
00032 {
00033 public:
00034 static vtkObjectStack* New (void);
00035 vtkTypeRevisionMacro (vtkObjectStack, vtkObjectBaseStack);
00036 void PrintSelf (ostream&, vtkIndent);
00037
00042 virtual int Swap (vtkObjectStack* container)
00043 { return this->Superclass::Swap(container); }
00044
00049 virtual int Copy (vtkObjectStack* container)
00050 { return this->Superclass::Copy(container); }
00051
00058 virtual int Push (vtkObject* item)
00059 { return this->Superclass::Push(item); }
00060
00062 vtkObject* Top (void) const
00063 { return static_cast<vtkObject*>(this->Superclass::Top()); }
00064
00071 vtkObject* At (vtkIdType position) const
00072 { return static_cast<vtkObject*>(this->Superclass::At(position)); }
00073
00074 protected:
00075 vtkObjectStack (void);
00076 ~vtkObjectStack();
00077
00078 private:
00079
00082 int Swap (vtkObjectBaseStack* a)
00083 { return this->Superclass::Swap(a); }
00084 int Copy (vtkObjectBaseStack* a)
00085 { return this->Superclass::Copy(a); }
00086 int Push (vtkObjectBase* object)
00087 { return this->Superclass::Push(object); }
00089
00090
00091 private:
00097 vtkObjectStack (const vtkObjectStack&);
00098 void operator= (const vtkObjectStack&);
00100 };
00101
00102 #endif
00103
00104
00105
00106