src
paraview-5.12
VTKExtensions
IOCore
vtkStringReader.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
8
#ifndef vtkStringReader_h
9
#define vtkStringReader_h
10
11
#include "
vtkAlgorithm.h
"
12
#include "vtkPVVTKExtensionsIOCoreModule.h"
//needed for exports
13
14
class
VTKPVVTKEXTENSIONSIOCORE_EXPORT
vtkStringReader
:
public
vtkAlgorithm
15
{
16
public
:
17
static
vtkStringReader
*
New
();
18
vtkTypeMacro(
vtkStringReader
,
vtkAlgorithm
);
19
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
20
22
25
vtkGetCharFromStdStringMacro(String);
27
29
32
vtkSetStdStringFromCharMacro(FileName);
33
vtkGetCharFromStdStringMacro(FileName);
35
protected
:
36
vtkStringReader
();
37
~
vtkStringReader
()
override
;
38
39
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
40
int
FillOutputPortInformation
(
int
port,
vtkInformation
* info)
override
;
41
vtkTypeBool
ProcessRequest
(
vtkInformation
* request,
vtkInformationVector
** inputVector,
42
vtkInformationVector
* outputVector)
override
;
43
virtual
int
RequestData(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
44
45
private
:
46
vtkStringReader
(
const
vtkStringReader
&) =
delete
;
47
void
operator=
(
const
vtkStringReader
&) =
delete
;
48
49
std::string String;
50
std::string FileName;
51
};
52
53
#endif // vtkStringReader_h
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkAlgorithm
vtkAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkInformationVector
vtkStringReader
Read a file and return a string.
Definition:
vtkStringReader.h:14
vtkAlgorithm.h
vtkIndent
vtkInformation
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkAlgorithm::ProcessRequest
virtual int ProcessRequest(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
vtkAlgorithm::FillOutputPortInformation
virtual int FillOutputPortInformation(int port, vtkInformation *info)
vtkTypeBool
int vtkTypeBool
Generated by
1.8.17 on Wed Mar 27 2024