VTK
9.1.0
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
=========================================================================*/
43
#ifndef vtkFileOutputWindow_h
44
#define vtkFileOutputWindow_h
45
46
#include "vtkCommonCoreModule.h"
// For export macro
47
#include "
vtkOutputWindow.h
"
48
49
class
VTKCOMMONCORE_EXPORT
vtkFileOutputWindow
:
public
vtkOutputWindow
50
{
51
public
:
52
vtkTypeMacro(
vtkFileOutputWindow
,
vtkOutputWindow
);
53
54
static
vtkFileOutputWindow
*
New
();
55
56
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
57
62
void
DisplayText
(
const
char
*)
override
;
63
65
68
vtkSetFilePathMacro
(FileName);
69
vtkGetFilePathMacro
(FileName);
71
73
77
vtkSetMacro(Flush,
vtkTypeBool
);
78
vtkGetMacro(Flush,
vtkTypeBool
);
79
vtkBooleanMacro(Flush,
vtkTypeBool
);
81
83
89
vtkSetMacro(Append,
vtkTypeBool
);
90
vtkGetMacro(Append,
vtkTypeBool
);
91
vtkBooleanMacro(Append,
vtkTypeBool
);
93
94
protected
:
95
vtkFileOutputWindow
();
96
~vtkFileOutputWindow
()
override
;
97
void
Initialize
();
98
99
char
*
FileName
;
100
ostream*
OStream
;
101
vtkTypeBool
Flush
;
102
vtkTypeBool
Append
;
103
104
private
:
105
vtkFileOutputWindow
(
const
vtkFileOutputWindow
&) =
delete
;
106
void
operator=(
const
vtkFileOutputWindow
&) =
delete
;
107
};
108
109
#endif
vtkFileOutputWindow::FileName
char * FileName
Definition:
vtkFileOutputWindow.h:99
vtkFileOutputWindow::vtkFileOutputWindow
vtkFileOutputWindow()
vtkFileOutputWindow::~vtkFileOutputWindow
~vtkFileOutputWindow() override
vtkFileOutputWindow::New
static vtkFileOutputWindow * New()
vtkOutputWindow.h
vtkFileOutputWindow::Flush
vtkTypeBool Flush
Definition:
vtkFileOutputWindow.h:101
vtkFileOutputWindow::vtkSetFilePathMacro
vtkSetFilePathMacro(FileName)
Sets the name for the log file.
vtkFileOutputWindow::Initialize
void Initialize()
vtkFileOutputWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOutputWindow
base class for writing debug output to a console
Definition:
vtkOutputWindow.h:52
vtkFileOutputWindow::Append
vtkTypeBool Append
Definition:
vtkFileOutputWindow.h:102
vtkFileOutputWindow
File Specific output window class.
Definition:
vtkFileOutputWindow.h:50
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkFileOutputWindow::DisplayText
void DisplayText(const char *) override
Put the text into the log file.
vtkFileOutputWindow::vtkGetFilePathMacro
vtkGetFilePathMacro(FileName)
Sets the name for the log file.
vtkFileOutputWindow::OStream
ostream * OStream
Definition:
vtkFileOutputWindow.h:100
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated on Fri Nov 5 2021 00:10:55 for VTK by
1.8.20