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 
18 class VTKREMOTINGCORE_EXPORT vtkPVEnvironmentInformation : public vtkPVInformation
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
vtkPVInformation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkObject::New
static vtkObject * New()
vtkClientServerStream
Store messages for the interpreter.
Definition: vtkClientServerStream.h:23
vtkPVInformation.h
vtkObject
vtkPVEnvironmentInformation::Variable
char * Variable
Definition: vtkPVEnvironmentInformation.h:50
vtkPVInformation::operator=
void operator=(const vtkPVInformation &)=delete
vtkIndent
vtkPVInformation::CopyFromObject
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
vtkPVInformation
Superclass for information objects.
Definition: vtkPVInformation.h:19
vtkPVEnvironmentInformation
Information object that can be used to obtain values of environment variables.
Definition: vtkPVEnvironmentInformation.h:18
vtkPVInformation::CopyToStream
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
vtkPVInformation::CopyFromStream
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.