00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef VTK_OBJECT_DEQUE_H_
00017 # define VTK_OBJECT_DEQUE_H_
00018 # include "vtkObjectBaseDeque.h"
00019 # include "vtkObjectDequeIterator.h"
00020
00031 class VTK_CONTAINERS_EXPORT vtkObjectDeque
00032 : public vtkObjectBaseDeque
00033 {
00034 public:
00035 static vtkObjectDeque* New (void);
00036 vtkTypeRevisionMacro (vtkObjectDeque, vtkObjectBaseDeque);
00037 void PrintSelf (ostream&, vtkIndent);
00038
00043 virtual int Swap (vtkObjectDeque* container)
00044 { return this->Superclass::Swap(container); }
00045
00050 virtual int Copy (vtkObjectDeque* container)
00051 { return this->Superclass::Copy(container); }
00052
00059 vtkObject* At (vtkIdType position) const
00060 { return static_cast<vtkObject*>(this->Superclass::At(position)); }
00061
00075 virtual int Insert (vtkIdType position, vtkObject* item)
00076 { return this->Superclass::Insert(position, item); }
00077
00093 virtual int Insert (vtkIdType position,
00094 vtkObjectDeque* sequence)
00095 { return this->Superclass::Insert(position, sequence); }
00096
00114 virtual int Insert (vtkIdType position,
00115 vtkObjectDeque* sequence,
00116 vtkIdType seqBeg,
00117 vtkIdType seqEnd)
00118 { return this->Superclass::Insert(position, sequence, seqBeg, seqEnd); }
00119
00124 virtual int Assign (vtkIdType position, vtkObject* item)
00125 { return this->Superclass::Assign(position, item); }
00126
00131 virtual int PushFront (vtkObject* item)
00132 { return this->Superclass::PushFront(item); }
00133
00138 virtual int PushBack (vtkObject* item)
00139 { return this->Superclass::PushBack(item); }
00140
00145 vtkObject* Front (void) const
00146 { return static_cast<vtkObject*>(this->Superclass::Front()); }
00147
00152 vtkObject* Back (void) const
00153 { return static_cast<vtkObject*>(this->Superclass::Back()); }
00154
00156 vtkObjectDequeIterator* CreateIterator (void);
00157
00158 protected:
00159 vtkObjectDeque (void);
00160 ~vtkObjectDeque();
00161
00162 private:
00163
00165 friend class vtkObjectDequeIterator;
00166
00168 int Swap (vtkObjectBaseDeque* a)
00169 { return this->Superclass::Swap(a); }
00170 int Copy (vtkObjectBaseDeque* a)
00171 { return this->Superclass::Copy(a); }
00172 int Insert (vtkIdType position, vtkObjectBase* object)
00173 { return this->Superclass::Insert(position, object); }
00174 int Insert (vtkIdType pos, vtkObjectBaseDeque* seq)
00175 { return this->Superclass::Insert(pos, seq); }
00176 int Insert (vtkIdType pos, vtkObjectBaseDeque* seq,
00177 vtkIdType seqBeg, vtkIdType seqEnd)
00178 { return this->Superclass::Insert(pos, seq, seqBeg, seqEnd); }
00179 int Assign (vtkIdType position, vtkObjectBase* object)
00180 { return this->Superclass::Assign(position, object); }
00181 int PushFront (vtkObjectBase* object)
00182 { return this->Superclass::PushFront(object); }
00183 int PushBack (vtkObjectBase* object)
00184 { return this->Superclass::PushBack(object); }
00186
00187
00188 private:
00194 vtkObjectDeque (const vtkObjectDeque&);
00195 void operator= (const vtkObjectDeque&);
00197 };
00198
00199 #endif
00200
00201
00202
00203