Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkIndent.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkIndent.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/01/15 18:57:01 $
00007   Version:   $Revision: 1.15 $
00008 
00009   Copyright (c) 2002 Insight Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 #ifndef __itkIndent_h
00021 #define __itkIndent_h
00022 
00023 #include "itkMacro.h"
00024 #include <iostream>
00025 
00026 namespace itk
00027 {
00028 
00041 class ITK_EXPORT Indent
00042 {
00043 public:
00045   typedef Indent  Self;
00046 
00048   static Self* New();
00049   
00051   void Delete() {delete this;}
00052 
00054   Indent(int ind=0) {m_Indent=ind;}
00055 
00057   static const char *GetNameOfClass() {return "Indent";}
00058 
00061   Indent GetNextIndent();
00062 
00064   friend ITK_EXPORT std::ostream& operator<<(std::ostream& os, const Indent& o); 
00065 
00066 private:
00067   int m_Indent;
00068 };
00069 
00070 } // end namespace itk
00071   
00072 #endif

Generated at Fri May 21 01:14:57 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000