vtkPVEnvironmentInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVEnvironmentInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkPVEnvironmentInformation_h
25 #define vtkPVEnvironmentInformation_h
26 
27 #include "vtkPVInformation.h"
28 #include "vtkRemotingCoreModule.h" //needed for exports
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  void CopyFromObject(vtkObject* object) override;
42 
44 
47  void CopyToStream(vtkClientServerStream*) override;
48  void CopyFromStream(const vtkClientServerStream*) override;
50 
52 
55  vtkGetStringMacro(Variable);
57 
58 protected:
60  ~vtkPVEnvironmentInformation() override;
61 
62  char* Variable; // value of an environment variable
63 
64  vtkSetStringMacro(Variable);
65 
66 private:
68  void operator=(const vtkPVEnvironmentInformation&) = delete;
69 };
70 
71 #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.