![]() |
Orfeo Toolbox
3.16
|
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 Self * | New () |
Private Attributes | |
| int | m_Indent |
Friends | |
| ITKCommon_EXPORT std::ostream & | operator<< (std::ostream &os, const Indent &o) |
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.
| typedef Indent itk::Indent::Self |
Standard class typedefs.
Definition at line 45 of file itkIndent.h.
|
inline |
Construct the object with an initial indentation level.
Definition at line 54 of file itkIndent.h.
|
inline |
Destroy this instance.
Definition at line 51 of file itkIndent.h.
|
inlinestatic |
Return the name of the class.
Definition at line 57 of file itkIndent.h.
Referenced by otb::ImageToProfileFilter< TInputImage, TOutputImage, TFilter, TParameter >::PrintSelf(), itk::SliceBySliceImageFilter< TInputImage, TOutputImage, TInputFilter, TOutputFilter, TInternalInputImage, TInternalOutputImage >::PrintSelf(), and itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >::PrintSelf().
| 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 49 of file itkIndent.cxx.
References ITK_NUMBER_OF_BLANKS, and ITK_STD_INDENT.
Referenced by itk::LabelObjectLine< VImageDimension >::Print(), itk::Region::Print(), itk::EventObject::Print(), itk::ExceptionObject::Print(), otb::ImageKeywordlist::Print(), itk::LightObject::Print(), otb::VectorDataKeywordlist::Print(), otb::WaveletLowPassOperator< TMotherWaveletOperator, TDirectionOfTransformation, TPixel, VDimension, TAllocator >::PrintSelf(), otb::WaveletHighPassOperator< TMotherWaveletOperator, TDirectionOfTransformation, TPixel, VDimension, TAllocator >::PrintSelf(), itk::Directory::PrintSelf(), itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::DerivativeOperator< PixelType, itkGetStaticConstMacro(ImageDimension)>::PrintSelf(), itk::TransformIOBase::PrintSelf(), itk::MinimumMaximumImageCalculator< TInputImage >::PrintSelf(), itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::SobelOperator< MovedGradientPixelType, itkGetStaticConstMacro(MovedImageDimension) >::PrintSelf(), itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >::PrintSelf(), itk::WarpHarmonicEnergyCalculator< TInputImage >::PrintSelf(), itk::GaussianOperator< TPixel, VDimension, TAllocator >::PrintSelf(), otb::ContinuousMinimumMaximumImageCalculator< TInputImage >::PrintSelf(), otb::WaveletOperatorBase< TMotherWaveletOperator, TPixel, VDimension, TAllocator >::PrintSelf(), itk::AnisotropicDiffusionImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::ShapeDetectionLevelSetImageFilter< TInputImage, TFeatureImage, TOutputPixelType >::PrintSelf(), itk::ObjectFactoryBase::PrintSelf(), itk::Object::PrintSelf(), itk::AnnulusOperator< TPixel, TDimension, TAllocator >::PrintSelf(), itk::KernelTransform< TScalarType, NDimensions >::PrintSelf(), otb::GenericRSTransform< TScalarType, NInputDimensions, NOutputDimensions >::PrintSelf(), itk::GaussianDerivativeOperator< TPixel, VDimension, TAllocator >::PrintSelf(), otb::ogr::Layer::PrintSelf(), itk::FiniteDifferenceImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::ShapedNeighborhoodIterator< TImage, TBoundaryCondition >::PrintSelf(), itk::CannyEdgeDetectionImageFilter< TInputImage, TOutputImage >::PrintSelf(), otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::Image< TPixel, VImageDimension >::PrintSelf(), itk::ProcessObject::PrintSelf(), itk::VectorImage< TPixel, VImageDimension >::PrintSelf(), itk::SpecialCoordinatesImage< TPixel, VImageDimension >::PrintSelf(), itk::SparseFieldLevelSetImageFilter< TInputImage, TOutputImage >::PrintSelf(), itk::MultiphaseSparseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFunction, TIdCell >::PrintSelf(), itk::MatrixOffsetTransformBase< TScalarType, NInputDimensions, NOutputDimensions >::PrintSelf(), itk::ImageIOBase::PrintSelf(), itk::MultiphaseFiniteDifferenceImageFilter< TInputImage, TFeatureImage, TOutputImage, TFiniteDifferenceFunction, TIdCell >::PrintSelf(), otb::ObjectList< TObject >::PrintSelf(), itk::ImageBase< VImageDimension >::PrintSelf(), otb::ogr::Field::UncheckedPrintSelf(), and otb::ogr::Feature::UncheckedPrintSelf().
|
static |
Method for creation through the object factory.
Instance creation.
Definition at line 37 of file itkIndent.cxx.
|
friend |
Print out the indentation. Basically output a bunch of spaces.
Definition at line 63 of file itkIndent.cxx.
|
private |
Definition at line 67 of file itkIndent.h.
Referenced by itk::operator<<().