vtkSMDomainIterator.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
10 #ifndef vtkSMDomainIterator_h
11 #define vtkSMDomainIterator_h
12 
13 #include "vtkRemotingServerManagerModule.h" //needed for exports
14 #include "vtkSMObject.h"
15 
16 class vtkSMProperty;
17 class vtkSMDomain;
18 
19 struct vtkSMDomainIteratorInternals;
20 
22 {
23 public:
24  static vtkSMDomainIterator* New();
26  void PrintSelf(ostream& os, vtkIndent indent) override;
27 
31  void SetProperty(vtkSMProperty* property);
32 
34 
37  vtkGetObjectMacro(Property, vtkSMProperty);
39 
43  void Begin();
44 
48  int IsAtEnd();
49 
53  void Next();
54 
58  const char* GetKey();
59 
63  vtkSMDomain* GetDomain();
64 
65 protected:
67  ~vtkSMDomainIterator() override;
68 
70 
71 private:
72  vtkSMDomainIteratorInternals* Internals;
73 
75  void operator=(const vtkSMDomainIterator&) = delete;
76 };
77 
78 #endif
vtkSMProperty * Property
iterates over domains of a property
#define VTKREMOTINGSERVERMANAGER_EXPORT
superclass for all SM properties
represents the possible values a property can have
Definition: vtkSMDomain.h:37
superclass for most server manager classes
Definition: vtkSMObject.h:17
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override