Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts
Public Types | Public Member Functions | Static Public Member Functions | Friends

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 Mon Jul 12 2010 23:26:42 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000