/*========================================================================= Program: Visualization Toolkit Module: $RCSfile: vtkEsquiIdListCollection.h,v $ Language: C++ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notice for more information. =========================================================================*/ #ifndef __vtkEsquiIdListCollection_h #define __vtkEsquiIdListCollection_h #include "vtkCollection.h" #include "vtkesquiComunesWin32Header.h" #include "vtkEsquiIdList.h" // Needed for inline methods //! Coleccion de vtkEsquiIdList class VTK_ESQUI_COMUNES_EXPORT vtkEsquiIdListCollection : public vtkCollection { public: static vtkEsquiIdListCollection *New(); vtkTypeRevisionMacro(vtkEsquiIdListCollection,vtkCollection); //! Agnade un nuevo elemento a la lista void AddItem(vtkEsquiIdList *ds) { this->vtkCollection::AddItem((vtkObject *)ds);}; //! Devuelve el elemento siguiente vtkEsquiIdList *GetNextItem() { return static_cast(this->GetNextItemAsObject());}; //! Devuelve el elemento en la posicion i vtkEsquiIdList *GetItem(int i) { return static_cast(this->GetItemAsObject(i));}; protected: vtkEsquiIdListCollection() {}; ~vtkEsquiIdListCollection() {}; private: // hide the standard AddItem from the user and the compiler. void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); }; private: vtkEsquiIdListCollection(const vtkEsquiIdListCollection&); // Not implemented. void operator=(const vtkEsquiIdListCollection&); // Not implemented. }; #endif