Remoting
Core
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
:
21
static
vtkPVEnvironmentInformation
*
New
();
22
vtkTypeMacro(
vtkPVEnvironmentInformation
,
vtkPVInformation
);
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
:
47
vtkPVEnvironmentInformation
();
48
~
vtkPVEnvironmentInformation
()
override
;
49
50
char
*
Variable
;
// value of an environment variable
51
52
vtkSetStringMacro(Variable);
53
54
private
:
55
vtkPVEnvironmentInformation
(
const
vtkPVEnvironmentInformation
&) =
delete
;
56
void
operator=
(
const
vtkPVEnvironmentInformation
&) =
delete
;
57
};
58
59
#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:23
vtkPVEnvironmentInformation::Variable
char * Variable
Definition:
vtkPVEnvironmentInformation.h:50
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:18
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:19
Generated by
1.8.13 on Tue Oct 1 2024