vtkPVEnvironmentInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkPVEnvironmentInformation_h
13 #define vtkPVEnvironmentInformation_h
14 
15 #include "vtkPVInformation.h"
16 #include "vtkRemotingCoreModule.h" //needed for exports
17 
19 {
20 public:
23  void PrintSelf(ostream& os, vtkIndent indent) override;
24 
29  void CopyFromObject(vtkObject* object) override;
30 
32 
35  void CopyToStream(vtkClientServerStream*) override;
36  void CopyFromStream(const vtkClientServerStream*) override;
38 
40 
43  vtkGetStringMacro(Variable);
45 
46 protected:
48  ~vtkPVEnvironmentInformation() override;
49 
50  char* Variable; // value of an environment variable
51 
52  vtkSetStringMacro(Variable);
53 
54 private:
56  void operator=(const vtkPVEnvironmentInformation&) = delete;
57 };
58 
59 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
void PrintSelf(ostream &os, vtkIndent indent) override
Store messages for the interpreter.
void operator=(const vtkPVInformation &)=delete
#define VTKREMOTINGCORE_EXPORT
Information object that can be used to obtain values of environment variables.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
static vtkObject * New()
Superclass for information objects.