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

vtkObjectHashMapIterator.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: vtkObjectHashMapIterator.h,v 1.1.1.1 2005/06/17 17:48:34 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_HASH_MAP_ITERATOR_H_
00017 #  define VTK_OBJECT_HASH_MAP_ITERATOR_H_
00018 #  include "vtkObjectBaseHashMapIterator.h"
00019 
00030 class VTK_CONTAINERS_EXPORT vtkObjectHashMapIterator
00031   : public vtkObjectBaseHashMapIterator
00032 {
00033 public:
00034   static vtkObjectHashMapIterator* New (void);
00035   vtkTypeRevisionMacro (vtkObjectHashMapIterator,
00036                         vtkObjectBaseHashMapIterator);
00037   void PrintSelf (ostream&, vtkIndent);
00038 
00045   vtkObject*            GetItem (void) const
00046     { return static_cast<vtkObject*>(this->Superclass::GetItem()); }
00047 
00052   virtual int           SetItem (vtkObject* object)
00053     { return this->Superclass::SetItem(object); }
00056 protected:
00057   vtkObjectHashMapIterator (void);
00058   ~vtkObjectHashMapIterator();
00059 
00060   //BTX
00061   friend class vtkObjectHashMap;
00062   //ETX
00063 
00064 private:
00065   //BTX
00068   int SetItem (vtkObjectBase* object)
00069     { return this->Superclass::SetItem(object); }
00071   //ETX
00072 
00073 private:
00079   vtkObjectHashMapIterator (const vtkObjectHashMapIterator&);
00080   void operator= (const vtkObjectHashMapIterator&);
00082 };
00083 
00084 #endif /* VTK_OBJECT_HASH_MAP_ITERATOR_H_ */
00085 /* 
00086  * End of: $Id: vtkObjectHashMapIterator.h,v 1.1.1.1 2005/06/17 17:48:34 xpxqx Exp $
00087  * 
00088  */

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