vtkSMInputFileNameDomain.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
16 #ifndef vtkSMInputFileNameDomain_h
17 #define vtkSMInputFileNameDomain_h
18 
19 #include "vtkRemotingServerManagerModule.h" //needed for exports
20 #include "vtkSMStringListDomain.h"
21 
23 {
24 public:
25  static vtkSMInputFileNameDomain* New();
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
29  // Update self checking the "unchecked" values of all required
30  // properties. Overwritten by sub-classes.
31  void Update(vtkSMProperty*) override;
32 
33  vtkGetMacro(FileName, std::string);
34 
41  int SetDefaultValues(vtkSMProperty*, bool use_unchecked_values) override;
42 
43 protected:
45  ~vtkSMInputFileNameDomain() override;
46 
47 private:
49  void operator=(const vtkSMInputFileNameDomain&) = delete;
50 
51  std::string FileName;
52 };
53 
54 #endif
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
superclass for all SM properties
a string domain that can be set automatically with the source file name
void Update(vtkSMProperty *) override
Update self checking the "unchecked" values of all required properties.
static vtkSMStringListDomain * New()
int SetDefaultValues(vtkSMProperty *, bool use_unchecked_values) override
A vtkSMProperty is often defined with a default value in the XML itself.