vtkSMOrderedPropertyIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMOrderedPropertyIterator.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 =========================================================================*/
28 #ifndef vtkSMOrderedPropertyIterator_h
29 #define vtkSMOrderedPropertyIterator_h
30 
31 #include "vtkRemotingServerManagerModule.h" //needed for exports
32 #include "vtkSMObject.h"
33 
34 class vtkSMProperty;
35 class vtkSMProxy;
36 
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
47  void SetProxy(vtkSMProxy* proxy);
48 
50 
53  vtkGetObjectMacro(Proxy, vtkSMProxy);
55 
59  void Begin();
60 
64  int IsAtEnd();
65 
69  void Next();
70 
74  const char* GetKey();
75 
79  vtkSMProperty* GetProperty();
80 
85  const char* GetPropertyLabel();
86 
87 protected:
89  ~vtkSMOrderedPropertyIterator() override;
90 
92  unsigned int Index;
93 
94 private:
96  void operator=(const vtkSMOrderedPropertyIterator&) = delete;
97 };
98 
99 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
iterates over the properties of a proxy
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
void PrintSelf(ostream &os, vtkIndent indent) override