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
00030 #ifndef __vtkFileOutputWindow_h
00031 #define __vtkFileOutputWindow_h
00032
00033 #include "vtkOutputWindow.h"
00034
00035
00036 class VTK_COMMON_EXPORT vtkFileOutputWindow : public vtkOutputWindow
00037 {
00038 public:
00039 vtkTypeRevisionMacro(vtkFileOutputWindow, vtkOutputWindow);
00040
00041 static vtkFileOutputWindow* New();
00042
00043 virtual void PrintSelf(ostream& os, vtkIndent indent);
00044
00046 virtual void DisplayText(const char*);
00047
00049 vtkSetStringMacro(FileName);
00050 vtkGetStringMacro(FileName);
00052
00054
00055 vtkSetMacro(Flush, int);
00056 vtkGetMacro(Flush, int);
00057 vtkBooleanMacro(Flush, int);
00059
00061
00063 vtkSetMacro(Append, int);
00064 vtkGetMacro(Append, int);
00065 vtkBooleanMacro(Append, int);
00067
00068 protected:
00069 vtkFileOutputWindow();
00070 virtual ~vtkFileOutputWindow();
00071 void Initialize();
00072 char* FileName;
00073 ofstream* OStream;
00074 int Flush;
00075 int Append;
00076 private:
00077 vtkFileOutputWindow(const vtkFileOutputWindow&);
00078 void operator=(const vtkFileOutputWindow&);
00079 };
00080
00081
00082
00083 #endif