Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkObjectMapIterator.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *
00003  * $Id: vtkObjectMapIterator.h,v 1.1.1.1 2005/06/17 17:48:32 xpxqx Exp $
00004  *
00005  * Copyright (c) 2005 Sean McInerney
00006  * All rights reserved.
00007  *
00008  * See Copyright.txt or http://vtkcontainers.sourceforge.net/Copyright.html
00009  * for details.
00010  *
00011  *    This software is distributed WITHOUT ANY WARRANTY; without even 
00012  *    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013  *    PURPOSE.  See the above copyright notice for more information.
00014  *
00015  */
00016 #ifndef VTK_OBJECT_MAP_ITERATOR_H_
00017 #  define VTK_OBJECT_MAP_ITERATOR_H_
00018 #  include "vtkObjectBaseMapIterator.h"
00019 
00026 class VTK_CONTAINERS_EXPORT vtkObjectMapIterator
00027   : public vtkObjectBaseMapIterator
00028 {
00029 public:
00030   static vtkObjectMapIterator* New (void);
00031   vtkTypeRevisionMacro (vtkObjectMapIterator, vtkObjectBaseMapIterator);
00032   void PrintSelf (ostream&, vtkIndent);
00033 
00040   vtkObject*            GetItem (void) const
00041     { return static_cast<vtkObject*>(this->Superclass::GetItem()); }
00042 
00047   virtual int           SetItem (vtkObject* object)
00048     { return this->Superclass::SetItem(object); }
00051 protected:
00052   vtkObjectMapIterator (void);
00053   ~vtkObjectMapIterator();
00054 
00055   //BTX
00056   friend class vtkObjectMap;
00057   //ETX
00058 
00059 private:
00060   //BTX
00063   int SetItem (vtkObjectBase* object)
00064     { return this->Superclass::SetItem(object); }
00066   //ETX
00067 
00068 private:
00074   vtkObjectMapIterator (const vtkObjectMapIterator&);
00075   void operator= (const vtkObjectMapIterator&);
00077 };
00078 
00079 #endif /* VTK_OBJECT_MAP_ITERATOR_H_ */
00080 /* 
00081  * End of: $Id: vtkObjectMapIterator.h,v 1.1.1.1 2005/06/17 17:48:32 xpxqx Exp $.
00082  * 
00083  */

Generated on Thu Jul 14 14:39:40 2005 for vtkContainers by doxygen 1.3.6