ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkIndent.h>
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 | |
using | Self = Indent |
Public Member Functions | |
void | Delete () |
Indent | GetNextIndent () |
Indent (int ind=0) | |
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) |
using itk::Indent::Self = Indent |
Standard class type aliases.
Definition at line 53 of file itkIndent.h.
|
inline |
Construct the object with an initial indentation level.
Definition at line 62 of file itkIndent.h.
|
inline |
Destroy this instance.
Definition at line 59 of file itkIndent.h.
|
inlinestatic |
Return the name of the class.
Definition at line 65 of file itkIndent.h.
Indent itk::Indent::GetNextIndent | ( | ) |
Determine the next indentation level. Keep indenting by two until the a maximum of forty spaces is reached.
Referenced by itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::DerivativeOperator< OutputImagePixelType, itkGetStaticConstMacro(ImageDimension)>::PrintSelf(), itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::HigherOrderAccurateDerivativeOperator< TPixel, VDimension, TAllocator >::PrintSelf(), itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >::PrintSelf(), itk::SobelOperator< MovedGradientPixelType, itk::GradientDifferenceImageToImageMetric::MovedImageDimension >::PrintSelf(), and itk::GaussianOperator< ScalarType, Superclass::Dimension >::PrintSelf().
|
static |
Method for creation through the object factory.
|
friend |
Print out the indentation. Basically output a bunch of spaces.
|
private |
Definition at line 75 of file itkIndent.h.