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 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)

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

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 (  ) 
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 Fri Apr 16 22:38:19 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000