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 
18 class VTKREMOTINGSERVERMANAGER_EXPORT vtkSMIndexSelectionDomain : public vtkSMDomain
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
vtkSMDomain::GetRequiredProperty
vtkSMProperty * GetRequiredProperty(const char *function)
Returns a given required property of the given function.
vtkSMIndexSelectionDomain
Select names from an indexed string list.
Definition: vtkSMIndexSelectionDomain.h:18
vtkSMDomain::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSMProperty
superclass for all SM properties
Definition: vtkSMProperty.h:144
vtkIndent
vtkSMDomain
represents the possible values a property can have
Definition: vtkSMDomain.h:37
vtkSMDomain::New
static vtkSMDomain * New()
vtkSMDomain::SetDefaultValues
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
vtkSMIndexSelectionDomain::GetInfoProperty
vtkSMProperty * GetInfoProperty()
Definition: vtkSMIndexSelectionDomain.h:30
vtkSMDomain::IsInDomain
virtual int IsInDomain(vtkSMProperty *vtkNotUsed(property))
Is the (unchecked) value of the property in the domain? Overwritten by sub-classes.
Definition: vtkSMDomain.h:64
vtkSMDomain.h