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

vtkObjectBaseSetIterator.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: vtkObjectBaseSetIterator.h,v 1.3 2005/07/13 02:22:18 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_BASE_SET_ITERATOR_H_
00017 #  define VTK_OBJECT_BASE_SET_ITERATOR_H_
00018 #  include "vtkIterator.h"
00019 
00020 class vtkObjectBaseSet;
00021 class vtkObjectBaseSetIteratorInternal;
00022 
00033 class VTK_CONTAINERS_EXPORT vtkObjectBaseSetIterator
00034   : public vtkIterator
00035 {
00036 public:
00037   static vtkObjectBaseSetIterator* New (void);
00038   vtkTypeRevisionMacro (vtkObjectBaseSetIterator, vtkIterator);
00039   void PrintSelf (ostream&, vtkIndent);
00040 
00047   vtkIdType             GetPosition (void) const;
00048 
00053   vtkObjectBase*        GetItem (void) const;
00054 
00059   int                   SetItem (vtkObjectBase* object);
00071   int                   InitTraversal (void);
00072 
00079   int                   Increment (void);
00080 
00087   int                   Decrement (void);
00090 protected:
00091   vtkObjectBaseSetIterator (void);
00092   ~vtkObjectBaseSetIterator();
00093 
00094 private:
00095   //BTX
00096   vtkObjectBaseSetIteratorInternal* Internal;
00097 
00098   friend class vtkObjectBaseSet;
00099   //ETX
00100 
00101 private:
00107   vtkObjectBaseSetIterator (const vtkObjectBaseSetIterator&);
00108   void operator= (const vtkObjectBaseSetIterator&);
00110 };
00111 
00112 #endif /* VTK_OBJECT_BASE_SET_ITERATOR_H_ */
00113 /* 
00114  * End of: $Id: vtkObjectBaseSetIterator.h,v 1.3 2005/07/13 02:22:18 xpxqx Exp $.
00115  * 
00116  */

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