Common/vtkFileOutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00041 #ifndef __vtkFileOutputWindow_h
00042 #define __vtkFileOutputWindow_h
00043
00044 #include "vtkOutputWindow.h"
00045
00046
00047 class VTK_COMMON_EXPORT vtkFileOutputWindow : public vtkOutputWindow
00048 {
00049 public:
00050 vtkTypeRevisionMacro(vtkFileOutputWindow, vtkOutputWindow);
00051
00052 static vtkFileOutputWindow* New();
00053
00054 virtual void PrintSelf(ostream& os, vtkIndent indent);
00055
00057 virtual void DisplayText(const char*);
00058
00060 vtkSetStringMacro(FileName);
00061 vtkGetStringMacro(FileName);
00063
00065
00066 vtkSetMacro(Flush, int);
00067 vtkGetMacro(Flush, int);
00068 vtkBooleanMacro(Flush, int);
00070
00072
00074 vtkSetMacro(Append, int);
00075 vtkGetMacro(Append, int);
00076 vtkBooleanMacro(Append, int);
00078
00079 protected:
00080 vtkFileOutputWindow();
00081 virtual ~vtkFileOutputWindow();
00082 void Initialize();
00083 char* FileName;
00084 ofstream* OStream;
00085 int Flush;
00086 int Append;
00087 private:
00088 vtkFileOutputWindow(const vtkFileOutputWindow&);
00089 void operator=(const vtkFileOutputWindow&);
00090 };
00091
00092
00093
00094 #endif