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

Servers/ServerManager/vtkSMPropertyIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMPropertyIterator.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 =========================================================================*/
00024 #ifndef __vtkSMPropertyIterator_h
00025 #define __vtkSMPropertyIterator_h
00026 
00027 #include "vtkSMObject.h"
00028 
00029 //BTX
00030 struct vtkSMPropertyIteratorInternals;
00031 //ETX
00032 
00033 class vtkSMProperty;
00034 class vtkSMProxy;
00035 
00036 class VTK_EXPORT vtkSMPropertyIterator : public vtkSMObject
00037 {
00038 public:
00039   static vtkSMPropertyIterator* New();
00040   vtkTypeRevisionMacro(vtkSMPropertyIterator, vtkSMObject);
00041   void PrintSelf(ostream& os, vtkIndent indent);
00042 
00044   void SetProxy(vtkSMProxy* proxy);
00045 
00047 
00048   vtkGetObjectMacro(Proxy, vtkSMProxy);
00050 
00052   void Begin();
00053 
00055   int IsAtEnd();
00056 
00058   void Next();
00059 
00061   const char* GetKey();
00062 
00064   vtkSMProperty* GetProperty();
00065 
00067 
00069   vtkSetMacro(TraverseSubProxies, int);
00070   vtkGetMacro(TraverseSubProxies, int);
00072 
00073 protected:
00074   vtkSMPropertyIterator();
00075   ~vtkSMPropertyIterator();
00076 
00077   vtkSMProxy* Proxy;
00078 
00079   int TraverseSubProxies;
00080 
00081   virtual void SaveState(const char*, ostream*, vtkIndent) {}
00082 
00083 private:
00084   vtkSMPropertyIteratorInternals* Internals;
00085 
00086   vtkSMPropertyIterator(const vtkSMPropertyIterator&); // Not implemented
00087   void operator=(const vtkSMPropertyIterator&); // Not implemented
00088 };
00089 
00090 #endif

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