Orfeo Toolbox  4.0
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Friends | List of all members
itk::Indent Class Reference

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

#include <itkIndent.h>

Public Types

typedef Indent Self
 

Public Member Functions

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

Static Public Member Functions

static const char * GetNameOfClass ()
 
static SelfNew ()
 

Private Attributes

int m_Indent
 

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 49 of file itkIndent.h.

Member Typedef Documentation

Standard class typedefs.

Definition at line 53 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 62 of file itkIndent.h.

Member Function Documentation

void itk::Indent::Delete ( )
inline

Destroy this instance.

Definition at line 59 of file itkIndent.h.

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

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

Determine the next indentation level. Keep indenting by two until the max of forty.

Definition at line 53 of file itkIndent.cxx.

References ITK_NUMBER_OF_BLANKS, and ITK_STD_INDENT.

Referenced by itk::EventObject::Print(), itk::LabelObjectLine< VImageDimension >::Print(), itk::Region::Print(), itk::ExceptionObject::Print(), otb::ImageKeywordlist::Print(), itk::LightObject::Print(), itk::ConstantBoundaryCondition< TInputImage, TOutputImage >::Print(), otb::VectorDataKeywordlist::Print(), otb::WaveletLowPassOperator< TMotherWaveletOperator, TDirectionOfTransformation, TPixel, VDimension, TAllocator >::PrintSelf(), otb::WaveletHighPassOperator< TMotherWaveletOperator, TDirectionOfTransformation, TPixel, VDimension, TAllocator >::PrintSelf(), itk::Directory::PrintSelf(), itk::GPUAnisotropicDiffusionImageFilter< TInputImage, TOutputImage, TParentImageFilter >::PrintSelf(), itk::ImageFilterToVideoFilterWrapper< TImageToImageFilter >::PrintSelf(), itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::TemporalDataObject::PrintSelf(), itk::MinimumMaximumImageCalculator< TInputImage >::PrintSelf(), itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::DerivativeOperator< PixelType, itkGetStaticConstMacro(ImageDimension) >::PrintSelf(), itk::VideoFileReader< TOutputVideoStream >::PrintSelf(), itk::VideoFileWriter< TInputVideoStream >::PrintSelf(), itk::FileListVideoIO::PrintSelf(), itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >::PrintSelf(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::PrintSelf(), otb::WaveletOperatorBase< TMotherWaveletOperator, TPixel, VDimension, TAllocator >::PrintSelf(), itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::PrintSelf(), itk::SobelOperator< MovedGradientPixelType, itkGetStaticConstMacro(MovedImageDimension) >::PrintSelf(), itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::GaussianOperator< ScalarType, Superclass::Dimension >::PrintSelf(), itk::ObjectToObjectOptimizerBaseTemplate< TInternalComputationValueType >::PrintSelf(), otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >::PrintSelf(), itk::Object::PrintSelf(), itk::AnnulusOperator< TPixel, TDimension, TAllocator >::PrintSelf(), itk::ObjectFactoryBase::PrintSelf(), otb::ogr::Layer::PrintSelf(), itk::PatchBasedDenoisingImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::KernelTransform< TScalar, NDimensions >::PrintSelf(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::PrintSelf(), itk::GradientDescentOptimizerv4Template< TInternalComputationValueType >::PrintSelf(), itk::Image< TPixel, VImageDimension >::PrintSelf(), otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PrintSelf(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::VectorImage< TPixelType, VImageDimension >::PrintSelf(), itk::N4BiasFieldCorrectionImageFilter< TInputImage, TMaskImage, TOutputImage >::PrintSelf(), otb::ImageIOBase::PrintSelf(), itk::ProcessObject::PrintSelf(), itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::PrintSelf(), itk::ImageIOBase::PrintSelf(), otb::ObjectList< TObject >::PrintSelf(), itk::ImageBase< VImageDimension >::PrintSelf(), and otb::ogr::Feature::UncheckedPrintSelf().

Indent * itk::Indent::New ( void  )
static

Method for creation through the object factory.

Instance creation.

Definition at line 42 of file itkIndent.cxx.

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.

Definition at line 68 of file itkIndent.cxx.

Member Data Documentation

int itk::Indent::m_Indent
private

Definition at line 75 of file itkIndent.h.

Referenced by itk::operator<<().


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

Generated at Sat Mar 8 2014 17:13:17 for Orfeo Toolbox with doxygen 1.8.3.1