00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00024 #ifndef __vtkSMPropertyIterator_h
00025 #define __vtkSMPropertyIterator_h
00026
00027 #include "vtkSMObject.h"
00028
00029
00030 struct vtkSMPropertyIteratorInternals;
00031
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&);
00087 void operator=(const vtkSMPropertyIterator&);
00088 };
00089
00090 #endif