vtkSMPropertyIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMPropertyIterator.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkSMPropertyIterator_h
26 #define vtkSMPropertyIterator_h
27 
28 #include "vtkRemotingServerManagerModule.h" //needed for exports
29 #include "vtkSMObject.h"
30 
31 struct vtkSMPropertyIteratorInternals;
32 
33 class vtkSMProperty;
34 class vtkSMProxy;
35 
37 {
38 public:
39  static vtkSMPropertyIterator* New();
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
46  virtual void SetProxy(vtkSMProxy* proxy);
47 
49 
52  vtkGetObjectMacro(Proxy, vtkSMProxy);
54 
58  virtual void Begin();
59 
63  virtual int IsAtEnd();
64 
68  virtual void Next();
69 
73  virtual const char* GetKey();
74 
79  virtual const char* GetPropertyLabel();
80 
84  virtual vtkSMProperty* GetProperty();
85 
87 
91  vtkSetMacro(TraverseSubProxies, int);
92  vtkGetMacro(TraverseSubProxies, int);
94 
95 protected:
97  ~vtkSMPropertyIterator() override;
98 
100 
102 
103 private:
104  vtkSMPropertyIteratorInternals* Internals;
105 
107  void operator=(const vtkSMPropertyIterator&) = delete;
108 };
109 
110 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
superclass for most server manager classes
Definition: vtkSMObject.h:29
static vtkSMObject * New()
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
iterates over the properties of a proxy
void PrintSelf(ostream &os, vtkIndent indent) override