Common/vtkFileOutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00026 #ifndef __vtkFileOutputWindow_h
00027 #define __vtkFileOutputWindow_h
00028
00029 #include "vtkOutputWindow.h"
00030
00031
00032 class VTK_COMMON_EXPORT vtkFileOutputWindow : public vtkOutputWindow
00033 {
00034 public:
00035 vtkTypeRevisionMacro(vtkFileOutputWindow, vtkOutputWindow);
00036
00037 static vtkFileOutputWindow* New();
00038
00039 virtual void PrintSelf(ostream& os, vtkIndent indent);
00040
00042 virtual void DisplayText(const char*);
00043
00045 vtkSetStringMacro(FileName);
00046 vtkGetStringMacro(FileName);
00048
00050
00051 vtkSetMacro(Flush, int);
00052 vtkGetMacro(Flush, int);
00053 vtkBooleanMacro(Flush, int);
00055
00057
00059 vtkSetMacro(Append, int);
00060 vtkGetMacro(Append, int);
00061 vtkBooleanMacro(Append, int);
00063
00064 protected:
00065 vtkFileOutputWindow();
00066 virtual ~vtkFileOutputWindow();
00067 void Initialize();
00068 char* FileName;
00069 ofstream* OStream;
00070 int Flush;
00071 int Append;
00072 private:
00073 vtkFileOutputWindow(const vtkFileOutputWindow&);
00074 void operator=(const vtkFileOutputWindow&);
00075 };
00076
00077
00078
00079 #endif