VTK
dox
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
31
class
VTKCOMMONCORE_EXPORT
vtkFileOutputWindow
:
public
vtkOutputWindow
32
{
33
public
:
34
vtkTypeMacro(
vtkFileOutputWindow
,
vtkOutputWindow
);
35
36
static
vtkFileOutputWindow
*
New
();
37
38
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
39
44
void
DisplayText
(
const
char
*)
override
;
45
47
50
vtkSetStringMacro(FileName);
51
vtkGetStringMacro(FileName);
53
55
59
vtkSetMacro(Flush,
vtkTypeBool
);
60
vtkGetMacro(Flush,
vtkTypeBool
);
61
vtkBooleanMacro(Flush,
vtkTypeBool
);
63
65
71
vtkSetMacro(Append,
vtkTypeBool
);
72
vtkGetMacro(Append,
vtkTypeBool
);
73
vtkBooleanMacro(Append,
vtkTypeBool
);
75
76
protected
:
77
vtkFileOutputWindow
();
78
~
vtkFileOutputWindow
()
override
;
79
void
Initialize();
80
81
char
*
FileName
;
82
ofstream*
OStream
;
83
vtkTypeBool
Flush
;
84
vtkTypeBool
Append
;
85
86
private
:
87
vtkFileOutputWindow
(
const
vtkFileOutputWindow
&) =
delete
;
88
void
operator=(
const
vtkFileOutputWindow
&) =
delete
;
89
};
90
91
92
#endif
vtkFileOutputWindow::FileName
char * FileName
Definition:
vtkFileOutputWindow.h:81
vtkOutputWindow.h
vtkOutputWindow::New
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
vtkFileOutputWindow::Flush
vtkTypeBool Flush
Definition:
vtkFileOutputWindow.h:83
vtkOutputWindow
base class for writing debug output to a console
Definition:
vtkOutputWindow.h:43
vtkFileOutputWindow::Append
vtkTypeBool Append
Definition:
vtkFileOutputWindow.h:84
vtkFileOutputWindow
File Specific output window class.
Definition:
vtkFileOutputWindow.h:31
vtkOutputWindow::DisplayText
virtual void DisplayText(const char *)
Display the text.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkOutputWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkFileOutputWindow::OStream
ofstream * OStream
Definition:
vtkFileOutputWindow.h:82
Generated by
1.8.16