ITK  4.8.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
itk::Indent Class Reference

#include <itkIndent.h>

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

Private Attributes

int m_Indent


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

Member Typedef Documentation

Standard class typedefs.

Definition at line 53 of file itkIndent.h.

Constructor & Destructor Documentation

itk::Indent::Indent ( int  ind = 0)

Construct the object with an initial indentation level.

Definition at line 62 of file itkIndent.h.

Member Function Documentation

void itk::Indent::Delete ( )

Destroy this instance.

Definition at line 59 of file itkIndent.h.

static const char* itk::Indent::GetNameOfClass ( )

Return the name of the class.

Definition at line 65 of file itkIndent.h.

Indent itk::Indent::GetNextIndent ( )
static Self* itk::Indent::New ( )

Method for creation through the object factory.

Friends And Related Function Documentation

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

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

Member Data Documentation

int itk::Indent::m_Indent

Definition at line 75 of file itkIndent.h.

The documentation for this class was generated from the following file: