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