vtkSMDynamicPropertiesDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkSMDynamicPropertiesDomain_h
18 #define vtkSMDynamicPropertiesDomain_h
19 
20 #include "vtkRemotingServerManagerModule.h" // For export macro
21 #include "vtkSMDomain.h"
22 
24 {
25 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
30 
31  int IsInDomain(vtkSMProperty* property) override;
32 
33  int SetDefaultValues(vtkSMProperty* prop, bool use_unchecked_values) override;
34 
35  vtkSMProperty* GetInfoProperty() { return this->GetRequiredProperty("Info"); }
36 
37 protected:
39  ~vtkSMDynamicPropertiesDomain() override;
40 
41 private:
43  void operator=(const vtkSMDynamicPropertiesDomain&) = delete;
44 };
45 
46 #endif // vtkSMDynamicPropertiesDomain_h
A domain (JSON description) for dynamic properties.
#define VTKREMOTINGSERVERMANAGER_EXPORT
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:92
represents the possible values a property can have
Definition: vtkSMDomain.h:38
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:65
static vtkSMDomain * New()
vtkSMProperty * GetRequiredProperty(const char *function)
Returns a given required property of the given function.