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

vtkIterator.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: vtkIterator.h,v 1.1 2004/06/03 18:58:28 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2004 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkextensions.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_ITERATOR_H_ 00017 # define VTK_ITERATOR_H_ 00018 # include "vtkExtensionsContainersConfigure.h" // vtkExtensions configuration 00019 # include "vtkExtensionsObject.h" 00020 00021 VTK_EXTENSIONS_CONTAINERS_NAMESPACE_BEGIN 00022 00023 class vtkContainer; 00024 00033 class VTK_EXTENSIONS_CONTAINERS_EXPORT vtkIterator 00034 : public vtkExtensionsObject 00035 { 00036 public: 00037 vtkTypeRevisionMacro (vtkIterator, vtkExtensionsObject); 00038 00040 virtual vtkContainer* GetContainer (void) const; 00041 00050 virtual vtkIdType GetPosition (void) const; 00051 00058 virtual const char* GetKey (void) const; 00059 00064 virtual vtkObjectBase* GetObject (void) const; 00065 00070 virtual int SetObject (vtkObjectBase* object) = 0; 00082 virtual int InitTraversal (void) = 0; 00083 00090 virtual int Increment (void) = 0; 00091 00098 virtual int Decrement (void) = 0; 00101 protected: 00102 vtkIterator (void); 00103 ~vtkIterator(); 00104 00105 //BTX 00106 friend class vtkContainer; 00107 00108 vtkContainer* Container; 00109 00111 virtual void SetContainer (vtkContainer*); 00112 //ETX 00113 00114 private: 00120 vtkIterator (const vtkIterator&); 00121 void operator= (const vtkIterator&); 00123 }; 00124 00125 VTK_EXTENSIONS_CONTAINERS_NAMESPACE_END 00126 00127 #endif /* VTK_ITERATOR_H_ */ 00128 /* 00129 * End of: $Id: vtkIterator.h,v 1.1 2004/06/03 18:58:28 xpxqx Exp $. 00130 * 00131 */

Generated on Tue Aug 10 03:37:40 2004 for vtkExtensions by doxygen 1.3.7