vtkSMRegistrationNamesDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
41 #ifndef vtkSMRegistrationNamesDomain_h
42 #define vtkSMRegistrationNamesDomain_h
43 
44 #include "vtkRemotingServerManagerModule.h" //needed for exports
45 #include "vtkSMDomain.h"
46 #include <memory> // for std::unique_ptr
47 
49 {
50 public:
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
55  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
56 
57 protected:
59  ~vtkSMRegistrationNamesDomain() override;
60 
61  int ReadXMLAttributes(vtkSMProperty* prop, vtkPVXMLElement* element) override;
62 
63 private:
65  void operator=(const vtkSMRegistrationNamesDomain&) = delete;
66 
67  class vtkInternals;
68  std::unique_ptr<vtkInternals> Internals;
69 };
70 
71 #endif
domain to set default value for a property using proxy registration names
#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:91
represents the possible values a property can have
Definition: vtkSMDomain.h:37
void PrintSelf(ostream &os, vtkIndent indent) override
virtual int ReadXMLAttributes(vtkSMProperty *prop, vtkPVXMLElement *elem)
Set the appropriate ivars from the xml element.
vtkSMDomainInternals * Internals
Definition: vtkSMDomain.h:273
static vtkSMDomain * New()
This is used by vtkPVXMLParser to represent an XML document starting at the root element.