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