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
=========================================================================*/
27
#ifndef vtkFileOutputWindow_h
28
#define vtkFileOutputWindow_h
29
30
#include "vtkCommonCoreModule.h"
// For export macro
31
#include "
vtkOutputWindow.h
"
32
33
34
class
VTKCOMMONCORE_EXPORT
vtkFileOutputWindow
:
public
vtkOutputWindow
35
{
36
public
:
37
vtkTypeMacro(
vtkFileOutputWindow
,
vtkOutputWindow
);
38
39
static
vtkFileOutputWindow
*
New
();
40
41
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
42
47
void
DisplayText
(
const
char
*)
override
;
48
50
53
vtkSetStringMacro(FileName);
54
vtkGetStringMacro(FileName);
56
58
62
vtkSetMacro(Flush,
vtkTypeBool
);
63
vtkGetMacro(Flush,
vtkTypeBool
);
64
vtkBooleanMacro(Flush,
vtkTypeBool
);
66
68
74
vtkSetMacro(Append,
vtkTypeBool
);
75
vtkGetMacro(Append,
vtkTypeBool
);
76
vtkBooleanMacro(Append,
vtkTypeBool
);
78
79
protected
:
80
vtkFileOutputWindow
();
81
~
vtkFileOutputWindow
()
override
;
82
void
Initialize();
83
84
char
*
FileName
;
85
ofstream*
OStream
;
86
vtkTypeBool
Flush
;
87
vtkTypeBool
Append
;
88
89
private
:
90
vtkFileOutputWindow
(
const
vtkFileOutputWindow
&) =
delete
;
91
void
operator=(
const
vtkFileOutputWindow
&) =
delete
;
92
};
93
94
95
#endif
vtkFileOutputWindow::FileName
char * FileName
Definition:
vtkFileOutputWindow.h:84
vtkOutputWindow.h
vtkOutputWindow::New
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
vtkFileOutputWindow::Flush
vtkTypeBool Flush
Definition:
vtkFileOutputWindow.h:86
vtkOutputWindow
base class for writing debug output to a console
Definition:
vtkOutputWindow.h:46
vtkFileOutputWindow::Append
vtkTypeBool Append
Definition:
vtkFileOutputWindow.h:87
vtkFileOutputWindow
File Specific output window class.
Definition:
vtkFileOutputWindow.h:34
vtkOutputWindow::DisplayText
virtual void DisplayText(const char *)
Display the text.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
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:85
Generated by
1.8.16