vtkSMIndexSelectionDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkSMIndexSelectionDomain_h
13 #define vtkSMIndexSelectionDomain_h
14 
15 #include "vtkRemotingServerManagerModule.h" // For export macro
16 #include "vtkSMDomain.h"
17 
19 {
20 public:
22  void PrintSelf(ostream& os, vtkIndent indent) override;
23 
25 
26  int IsInDomain(vtkSMProperty* property) override;
27 
28  int SetDefaultValues(vtkSMProperty* prop, bool use_unchecked_values) override;
29 
30  vtkSMProperty* GetInfoProperty() { return this->GetRequiredProperty("Info"); }
31 
32 protected:
34  ~vtkSMIndexSelectionDomain() override;
35 
36 private:
38  void operator=(const vtkSMIndexSelectionDomain&) = delete;
39 };
40 
41 #endif // vtkSMIndexSelectionDomain_h
#define VTKREMOTINGSERVERMANAGER_EXPORT
Select names from an indexed string list.
superclass for all SM properties
virtual int SetDefaultValues(vtkSMProperty *, bool vtkNotUsed(use_unchecked_values))
A vtkSMProperty is often defined with a default value in the XML itself.
Definition: vtkSMDomain.h:91
represents the possible values a property can have
Definition: vtkSMDomain.h:37
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int IsInDomain(vtkSMProperty *vtkNotUsed(property))
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
Definition: vtkSMDomain.h:64
static vtkSMDomain * New()
vtkSMProperty * GetRequiredProperty(const char *function)
Returns a given required property of the given function.