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

itk::Indent Class Reference
[OS System Objects]

Control indentation during Print() invocation. More...

#include <itkIndent.h>

List of all members.

Public Types

typedef Indent Self

Public Methods

void Delete ()
 Indent (int ind=0)
Indent GetNextIndent ()

Static Public Methods

SelfNew ()
const char * GetNameOfClass ()

Friends

ITK_EXPORT std::ostream & operator<< (std::ostream &os, const Indent &o)


Detailed Description

Control indentation during Print() invocation.

Indent is used to control indentation during the chaining print process. This way nested objects can correctly indent themselves. This class works with the print methods defined in Object (i.e., the public method Print() and the protected methods PrintSelf(), PrintHeader(), and PrintTrailer().

Definition at line 41 of file itkIndent.h.


Member Typedef Documentation

typedef Indent itk::Indent::Self
 

Standard class typedefs.

Definition at line 45 of file itkIndent.h.


Constructor & Destructor Documentation

itk::Indent::Indent int    ind = 0 [inline]
 

Construct the object with an initial indentation level.

Definition at line 54 of file itkIndent.h.


Member Function Documentation

void itk::Indent::Delete   [inline]
 

Destroy this instance.

Definition at line 51 of file itkIndent.h.

const char* itk::Indent::GetNameOfClass   [inline, static]
 

Return the name of the class.

Definition at line 57 of file itkIndent.h.

Indent itk::Indent::GetNextIndent  
 

Determine the next indentation level. Keep indenting by two until the a maximum of forty spaces is reached.

Referenced by itk::DerivativeOperator< TPixel, VDimension, TAllocator >::PrintSelf().

Self* itk::Indent::New   [static]
 

Method for creation through the object factory.


Friends And Related Function Documentation

ITK_EXPORT std::ostream& operator<< std::ostream &    os,
const Indent &    o
[friend]
 

Print out the indentation. Basically output a bunch of spaces.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:30:03 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000