18 #ifndef __itkFileOutputWindow_h
19 #define __itkFileOutputWindow_h
54 virtual void DisplayText(
const char *) ITK_OVERRIDE;
57 itkSetStringMacro(FileName);
60 itkGetStringMacro(FileName);
63 itkSetMacro(Flush,
bool);
64 itkGetConstMacro(Flush,
bool);
65 itkBooleanMacro(Flush);
72 itkSetMacro(Append,
bool);
73 itkGetConstMacro(Append,
bool);
74 itkBooleanMacro(Append);
79 virtual ~FileOutputWindow();
80 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
84 std::ofstream *m_Stream;
86 std::
string m_FileName;
92 FileOutputWindow(const
Self &);
93 void operator=(const Self &);
Messages sent from the system are collected by this object.
Messages sent from the system are sent to a file.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer