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
00029 #ifndef __vtkIndent_h
00030 #define __vtkIndent_h
00031
00032 #include "vtkSystemIncludes.h"
00033
00034 class vtkIndent;
00035 VTK_COMMON_EXPORT ostream& operator<<(ostream& os, const vtkIndent& o);
00036
00037 class VTK_COMMON_EXPORT vtkIndent
00038 {
00039 public:
00040 void Delete() {delete this;};
00041 vtkIndent(int ind=0) {this->Indent=ind;};
00042 static vtkIndent *New();
00043
00044 virtual const char *GetClassName() {return "vtkIndent";};
00045
00048 vtkIndent GetNextIndent();
00049
00050
00052
00053 friend VTK_COMMON_EXPORT ostream& operator<<(ostream& os, const vtkIndent& o);
00054
00056
00057 protected:
00058 int Indent;
00059
00060 };
00061
00062 #endif