ParaView
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 "vtkPVClientServerCoreDefaultModule.h" //needed for exports
28 #include "vtkPVInformation.h"
29 
30 class VTKPVCLIENTSERVERCOREDEFAULT_EXPORT vtkPVEnvironmentInformation : public vtkPVInformation
31 {
32 public:
33  static vtkPVEnvironmentInformation* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
41  virtual void CopyFromObject(vtkObject* object);
42 
44 
47  virtual void CopyToStream(vtkClientServerStream*);
48  virtual void CopyFromStream(const vtkClientServerStream*);
50 
52 
55  vtkGetStringMacro(Variable);
57 
58 protected:
61 
62  char* Variable; // value of an environment variable
63 
64  vtkSetStringMacro(Variable);
65 
66 private:
67  vtkPVEnvironmentInformation(const vtkPVEnvironmentInformation&) VTK_DELETE_FUNCTION;
68  void operator=(const vtkPVEnvironmentInformation&) VTK_DELETE_FUNCTION;
69 };
70 
71 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
Store messages for the interpreter.
void PrintSelf(ostream &os, vtkIndent indent)
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.
Superclass for information objects.