vtkSMNamedPropertyIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMNamedPropertyIterator.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 =========================================================================*/
32 #ifndef vtkSMNamedPropertyIterator_h
33 #define vtkSMNamedPropertyIterator_h
34 
35 #include "vtkRemotingServerManagerModule.h" //needed for exports
36 #include "vtkSMPropertyIterator.h"
37 
38 class vtkSMProperty;
39 class vtkSMProxy;
40 class vtkStringList;
41 
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
52  void SetPropertyNames(vtkStringList* names);
53 
57  void Begin() override;
58 
62  int IsAtEnd() override;
63 
67  void Next() override;
68 
72  const char* GetKey() override;
73 
78  const char* GetPropertyLabel() override;
79 
83  vtkSMProperty* GetProperty() override;
84 
85 protected:
87  ~vtkSMNamedPropertyIterator() override;
88 
91 
92 private:
94  void operator=(const vtkSMNamedPropertyIterator&) = delete;
95 };
96 
97 #endif
iterates over a subset of a proxy's properties
virtual vtkSMProperty * GetProperty()
Returns the property at the current iterator position.
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual int IsAtEnd()
Returns true if iterator points past the end of the collection.
superclass for all SM properties
static vtkSMPropertyIterator * New()
virtual const char * GetKey()
Returns the key (name) at the current iterator position.
proxy for a VTK object(s) on a server
Definition: vtkSMProxy.h:152
virtual void Begin()
Go to the first property.
void PrintSelf(ostream &os, vtkIndent indent) override
virtual const char * GetPropertyLabel()
Returns the XMLLabel for self properties and the exposed name for sub-proxy properties.
Manages allocation and freeing for a string list.
Definition: vtkStringList.h:30
iterates over the properties of a proxy
virtual void Next()
Move to the next property.