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]

#include <itkIndent.h>

List of all members.


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.

Public Types

typedef Indent Self

Public Member Functions

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

Static Public Member Functions

static const char * GetNameOfClass ()
static SelfNew ()

Friends

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


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.

static 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::NeighborhoodOperator< TPixel, TDimension, TAllocator >::PrintSelf(), itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::GaussianOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::DerivativeOperator< OutputImagePixelType, itkGetStaticConstMacro(ImageDimension)>::PrintSelf(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::PrintSelf().

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

Method for creation through the object factory.


Friends And Related Function Documentation

ITKCommon_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 Mon Apr 14 19:11:08 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000