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

Servers/ServerManager/vtkSMDomainIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMDomainIterator.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00021 #ifndef __vtkSMDomainIterator_h
00022 #define __vtkSMDomainIterator_h
00023 
00024 #include "vtkSMObject.h"
00025 
00026 class vtkSMProperty;
00027 class vtkSMDomain;
00028 
00029 //BTX
00030 struct vtkSMDomainIteratorInternals;
00031 //ETX
00032 
00033 class VTK_EXPORT vtkSMDomainIterator : public vtkSMObject
00034 {
00035 public:
00036   static vtkSMDomainIterator* New();
00037   vtkTypeRevisionMacro(vtkSMDomainIterator, vtkSMObject);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041   void SetProperty(vtkSMProperty* property);
00042 
00044 
00045   vtkGetObjectMacro(Property, vtkSMProperty);
00047 
00049   void Begin();
00050 
00052   int IsAtEnd();
00053 
00055   void Next();
00056 
00058   const char* GetKey();
00059 
00061   vtkSMDomain* GetDomain();
00062 
00063   virtual void SaveState(const char*, ostream*, vtkIndent) {}
00064 
00065 protected:
00066   vtkSMDomainIterator();
00067   ~vtkSMDomainIterator();
00068 
00069   vtkSMProperty* Property;
00070 
00071 private:
00072   vtkSMDomainIteratorInternals* Internals;
00073 
00074   vtkSMDomainIterator(const vtkSMDomainIterator&); // Not implemented
00075   void operator=(const vtkSMDomainIterator&); // Not implemented
00076 };
00077 
00078 #endif

Generated on Tue May 30 12:31:48 2006 for ParaView by doxygen 1.3.5