Remoting
Core
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
30
class
VTKREMOTINGCORE_EXPORT
vtkPVEnvironmentInformation
:
public
vtkPVInformation
31
{
32
public
:
33
static
vtkPVEnvironmentInformation
*
New
();
34
vtkTypeMacro(
vtkPVEnvironmentInformation
,
vtkPVInformation
);
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
:
59
vtkPVEnvironmentInformation
();
60
~
vtkPVEnvironmentInformation
()
override
;
61
62
char
*
Variable
;
// value of an environment variable
63
64
vtkSetStringMacro(Variable);
65
66
private
:
67
vtkPVEnvironmentInformation
(
const
vtkPVEnvironmentInformation
&) =
delete
;
68
void
operator=
(
const
vtkPVEnvironmentInformation
&) =
delete
;
69
};
70
71
#endif
vtkPVInformation::CopyFromStream
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
vtkObject
vtkRemotingCoreModule.h
vtkPVInformation::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
vtkClientServerStream
Store messages for the interpreter.
Definition:
vtkClientServerStream.h:35
vtkPVEnvironmentInformation::Variable
char * Variable
Definition:
vtkPVEnvironmentInformation.h:62
vtkIndent
vtkPVInformation::operator=
void operator=(const vtkPVInformation &)=delete
VTKREMOTINGCORE_EXPORT
#define VTKREMOTINGCORE_EXPORT
Definition:
vtkRemotingCoreModule.h:15
vtkPVEnvironmentInformation
Information object that can be used to obtain values of environment variables.
Definition:
vtkPVEnvironmentInformation.h:30
vtkPVInformation::CopyToStream
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
vtkPVInformation.h
vtkPVInformation::CopyFromObject
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
vtkObject::New
static vtkObject * New()
vtkPVInformation
Superclass for information objects.
Definition:
vtkPVInformation.h:31
Generated by
1.8.13 on Wed Jan 27 2021