Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkIndent.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkIndent.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00015 
00044 #ifndef __vtkIndent_h
00045 #define __vtkIndent_h
00046 
00047 #include "vtkSystemIncludes.h"
00048 
00049 class vtkIndent;
00050 VTK_COMMON_EXPORT ostream& operator<<(ostream& os, const vtkIndent& o);
00051 
00052 class VTK_COMMON_EXPORT vtkIndent
00053 {
00054 public:
00055   void Delete() {delete this;};
00056   vtkIndent(int ind=0) {this->Indent=ind;};
00057   static vtkIndent *New();
00058 
00059   virtual const char *GetClassName() {return "vtkIndent";};
00060 
00063   vtkIndent GetNextIndent();
00064 
00065   //BTX
00067 
00068   friend VTK_COMMON_EXPORT ostream& operator<<(ostream& os, const vtkIndent& o);
00069   //ETX
00071 
00072 protected:
00073   int Indent;
00074   
00075 };
00076 
00077 #endif