Common/vtkIndent.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00046 #ifndef __vtkIndent_h
00047 #define __vtkIndent_h
00048
00049 #include "vtkSystemIncludes.h"
00050
00051 class vtkIndent;
00052 VTK_COMMON_EXPORT ostream& operator<<(ostream& os, const vtkIndent& o);
00053
00054 class VTK_COMMON_EXPORT vtkIndent
00055 {
00056 public:
00057 void Delete() {delete this;};
00058 vtkIndent(int ind=0) {this->Indent=ind;};
00059 static vtkIndent *New();
00060
00061 virtual const char *GetClassName() {return "vtkIndent";};
00062
00065 vtkIndent GetNextIndent();
00066
00067
00069
00070 friend VTK_COMMON_EXPORT ostream& operator<<(ostream& os, const vtkIndent& o);
00071
00073
00074 protected:
00075 int Indent;
00076
00077 };
00078
00079 #endif