src
paraview-5.12
Remoting
ServerManager
vtkLoadStateOptions.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
11
#ifndef vtkLoadStateOptions_h
12
#define vtkLoadStateOptions_h
13
14
#include "
vtkObject.h
"
15
#include "vtkRemotingServerManagerModule.h"
//needed for exports
16
#include <string>
// needed for std::string
17
18
class
VTKREMOTINGSERVERMANAGER_EXPORT
vtkLoadStateOptions
:
public
vtkObject
19
{
20
public
:
21
static
vtkLoadStateOptions
*
New
();
22
vtkTypeMacro(
vtkLoadStateOptions
,
vtkObject
);
23
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
24
25
vtkSetMacro(DataDirectory, std::string);
26
36
std::string LocateFileInDirectory(
const
std::string& filepath,
int
isPath);
37
38
protected
:
39
vtkLoadStateOptions
();
40
~
vtkLoadStateOptions
()
override
;
41
42
std::string
DataDirectory
;
43
44
private
:
45
vtkLoadStateOptions
(
const
vtkLoadStateOptions
&) =
delete
;
46
void
operator=
(
const
vtkLoadStateOptions
&) =
delete
;
47
};
48
49
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkObject::New
static vtkObject * New()
vtkObject
vtkLoadStateOptions
supports locating files in directory when loading a state file.
Definition:
vtkLoadStateOptions.h:18
vtkIndent
vtkObject.h
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkLoadStateOptions::DataDirectory
std::string DataDirectory
Definition:
vtkLoadStateOptions.h:42
Generated by
1.8.17 on Wed Mar 27 2024