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() ITK_OVERRIDE;
80 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
84 std::ofstream *m_Stream;
86 std::
string m_FileName;
92 ITK_DISALLOW_COPY_AND_ASSIGN(FileOutputWindow);
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