vtkSMDataTypeQueryDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
33 #ifndef vtkSMDataTypeQueryDomain_h
34 #define vtkSMDataTypeQueryDomain_h
35 
36 #include "vtkRemotingServerManagerModule.h" //needed for exports
37 #include "vtkSMDomain.h"
38 
40 {
41 public:
42  static vtkSMDataTypeQueryDomain* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
50  int IsInDomain(vtkSMProperty* property) override;
51 
56  void Update(vtkSMProperty*) override;
57 
61  int SetDefaultValues(vtkSMProperty* prop, bool use_unchecked_values) override;
62 
63 protected:
65  ~vtkSMDataTypeQueryDomain() override;
66 
67  int InputDataType = -1;
68 
69 private:
71  void operator=(const vtkSMDataTypeQueryDomain&) = delete;
72 };
73 
74 #endif // vtkSMDataTypeQueryDomain_h
#define VTKREMOTINGSERVERMANAGER_EXPORT
virtual void Update(vtkSMProperty *requestingProperty)
Update self based on the "unchecked" values of all required properties.
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
A domain for getting the input data type and setting it.
static vtkSMDomain * New()