VTK
9.0.1
Common
Core
vtkFileOutputWindow.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkFileOutputWindow.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm 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 vtkFileOutputWindow_h
25
#define vtkFileOutputWindow_h
26
27
#include "vtkCommonCoreModule.h"
// For export macro
28
#include "
vtkOutputWindow.h
"
29
30
class
VTKCOMMONCORE_EXPORT
vtkFileOutputWindow
:
public
vtkOutputWindow
31
{
32
public
:
33
vtkTypeMacro(
vtkFileOutputWindow
,
vtkOutputWindow
);
34
35
static
vtkFileOutputWindow
*
New
();
36
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
43
void
DisplayText
(
const
char
*)
override
;
44
46
49
vtkSetStringMacro(FileName);
50
vtkGetStringMacro(FileName);
52
54
58
vtkSetMacro(Flush,
vtkTypeBool
);
59
vtkGetMacro(Flush,
vtkTypeBool
);
60
vtkBooleanMacro(Flush,
vtkTypeBool
);
62
64
70
vtkSetMacro(Append,
vtkTypeBool
);
71
vtkGetMacro(Append,
vtkTypeBool
);
72
vtkBooleanMacro(Append,
vtkTypeBool
);
74
75
protected
:
76
vtkFileOutputWindow
();
77
~
vtkFileOutputWindow
()
override
;
78
void
Initialize();
79
80
char
*
FileName
;
81
ostream*
OStream
;
82
vtkTypeBool
Flush
;
83
vtkTypeBool
Append
;
84
85
private
:
86
vtkFileOutputWindow
(
const
vtkFileOutputWindow
&) =
delete
;
87
void
operator=(
const
vtkFileOutputWindow
&) =
delete
;
88
};
89
90
#endif
vtkFileOutputWindow::FileName
char * FileName
Definition:
vtkFileOutputWindow.h:80
vtkOutputWindow.h
vtkOutputWindow::New
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
vtkFileOutputWindow::Flush
vtkTypeBool Flush
Definition:
vtkFileOutputWindow.h:82
vtkOutputWindow
base class for writing debug output to a console
Definition:
vtkOutputWindow.h:50
vtkFileOutputWindow::Append
vtkTypeBool Append
Definition:
vtkFileOutputWindow.h:83
vtkFileOutputWindow
File Specific output window class.
Definition:
vtkFileOutputWindow.h:30
vtkOutputWindow::DisplayText
virtual void DisplayText(const char *)
Display the text.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkFileOutputWindow::OStream
ostream * OStream
Definition:
vtkFileOutputWindow.h:81
vtkOutputWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17