vtkSMDomainIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkSMDomainIterator.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 =========================================================================*/
22 #ifndef vtkSMDomainIterator_h
23 #define vtkSMDomainIterator_h
24 
25 #include "vtkRemotingServerManagerModule.h" //needed for exports
26 #include "vtkSMObject.h"
27 
28 class vtkSMProperty;
29 class vtkSMDomain;
30 
31 struct vtkSMDomainIteratorInternals;
32 
34 {
35 public:
36  static vtkSMDomainIterator* New();
38  void PrintSelf(ostream& os, vtkIndent indent) override;
39 
43  void SetProperty(vtkSMProperty* property);
44 
46 
49  vtkGetObjectMacro(Property, vtkSMProperty);
51 
55  void Begin();
56 
60  int IsAtEnd();
61 
65  void Next();
66 
70  const char* GetKey();
71 
75  vtkSMDomain* GetDomain();
76 
77 protected:
79  ~vtkSMDomainIterator() override;
80 
82 
83 private:
84  vtkSMDomainIteratorInternals* Internals;
85 
87  void operator=(const vtkSMDomainIterator&) = delete;
88 };
89 
90 #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:49
superclass for most server manager classes
Definition: vtkSMObject.h:29
static vtkSMObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override