<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta name="robots" content="noindex"> <meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ITK: itk::Indent Class Reference</title> <link href="DoxygenStyle.css" rel="stylesheet" type="text/css"> </head><body bgcolor="#ffffff"> <!-- Section customized for INSIGHT : Tue Jul 17 01:02:45 2001 --> <center> <a href="index.html" class="qindex">Main Page</a> <a href="modules.html" class="qindex">Groups</a> <a href="namespaces.html" class="qindex">Namespace List</a> <a href="hierarchy.html" class="qindex">Class Hierarchy</a> <a href="classes.html" class="qindex">Alphabetical List</a> <a href="annotated.html" class="qindex">Compound List</a> <a href="files.html" class="qindex">File List</a> <a href="namespacemembers.html" class="qindex">Namespace Members</a> <a href="functions.html" class="qindex">Compound Members</a> <a href="globals.html" class="qindex">File Members</a> <a href="pages.html" class="qindex">Concepts</a></center> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="namespaceitk.html">itk</a>::<a class="el" href="classitk_1_1Indent.html">Indent</a> </div> <div class="contents"> <h1>itk::Indent Class Reference<br> <small> [<a class="el" href="group__OSSystemObjects.html">OS System Objects</a>]</small> </h1><!-- doxytag: class="itk::Indent" -->Control indentation during Print() invocation. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="itkIndent_8h_source.html">itkIndent.h</a>></code> <p> <p> <a href="classitk_1_1Indent-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classitk_1_1Indent.html">Indent</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#d11c27810f7ecb452f9f6f46df2168aa">Self</a></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#b8a7a6f9f304d04c8a273cfe02cb4748">Delete</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classitk_1_1Indent.html">Indent</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#d8083599b8f6497704b67a195768db33">GetNextIndent</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#5ec536c5ae9327530eb1058803d219fd">Indent</a> (int ind=0)</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#53685c81989c8043608fb18d7a7523b2">GetNameOfClass</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classitk_1_1Indent.html">Self</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#841c6543cb0f36b2faa37fba01da6e00">New</a> ()</td></tr> <tr><td colspan="2"><br><h2>Friends</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">ITKCommon_EXPORT std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classitk_1_1Indent.html#9e84c6306742f58c816d80713958ea47">operator<<</a> (std::ostream &os, const <a class="el" href="classitk_1_1Indent.html">Indent</a> &o)</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Control indentation during Print() invocation. <p> <a class="el" href="classitk_1_1Indent.html" title="Control indentation during Print() invocation.">Indent</a> 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 <a class="el" href="classitk_1_1Object.html" title="Base class for most itk classes.">Object</a> (i.e., the public method Print() and the protected methods <a class="el" href="namespaceHardConnectedComponentImageFilter.html#920ae03048a5ad715d803ca2e92b52de">PrintSelf()</a>, PrintHeader(), and PrintTrailer(). <p>Definition at line <a class="el" href="itkIndent_8h_source.html#l00041">41</a> of file <a class="el" href="itkIndent_8h_source.html">itkIndent.h</a>.</p> <hr><h2>Member Typedef Documentation</h2> <a class="anchor" name="d11c27810f7ecb452f9f6f46df2168aa"></a><!-- doxytag: member="itk::Indent::Self" ref="d11c27810f7ecb452f9f6f46df2168aa" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classitk_1_1Indent.html">Indent</a> <a class="el" href="classitk_1_1Indent.html">itk::Indent::Self</a> </td> </tr> </table> </div> <div class="memdoc"> <p> Standard class typedefs. <p>Definition at line <a class="el" href="itkIndent_8h_source.html#l00045">45</a> of file <a class="el" href="itkIndent_8h_source.html">itkIndent.h</a>.</p> </div> </div><p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="5ec536c5ae9327530eb1058803d219fd"></a><!-- doxytag: member="itk::Indent::Indent" ref="5ec536c5ae9327530eb1058803d219fd" args="(int ind=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">itk::Indent::Indent </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>ind</em> = <code>0</code> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct the object with an initial indentation level. <p>Definition at line <a class="el" href="itkIndent_8h_source.html#l00054">54</a> of file <a class="el" href="itkIndent_8h_source.html">itkIndent.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="b8a7a6f9f304d04c8a273cfe02cb4748"></a><!-- doxytag: member="itk::Indent::Delete" ref="b8a7a6f9f304d04c8a273cfe02cb4748" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void itk::Indent::Delete </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destroy this instance. <p>Definition at line <a class="el" href="itkIndent_8h_source.html#l00051">51</a> of file <a class="el" href="itkIndent_8h_source.html">itkIndent.h</a>.</p> </div> </div><p> <a class="anchor" name="53685c81989c8043608fb18d7a7523b2"></a><!-- doxytag: member="itk::Indent::GetNameOfClass" ref="53685c81989c8043608fb18d7a7523b2" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static const char* itk::Indent::GetNameOfClass </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Return the name of the class. <p>Definition at line <a class="el" href="itkIndent_8h_source.html#l00057">57</a> of file <a class="el" href="itkIndent_8h_source.html">itkIndent.h</a>.</p> </div> </div><p> <a class="anchor" name="d8083599b8f6497704b67a195768db33"></a><!-- doxytag: member="itk::Indent::GetNextIndent" ref="d8083599b8f6497704b67a195768db33" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classitk_1_1Indent.html">Indent</a> itk::Indent::GetNextIndent </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Determine the next indentation level. Keep indenting by two until the a maximum of forty spaces is reached. <p>Referenced by <a class="el" href="itkNeighborhoodOperator_8h_source.html#l00130">itk::NeighborhoodOperator< OutputImagePixelType, VDimension, NeighborhoodAllocator< OutputImagePixelType > >::PrintSelf()</a>, <a class="el" href="itkLaplacianOperator_8h_source.html#l00105">itk::LaplacianOperator< TPixel, VDimension, TAllocator >::PrintSelf()</a>, <a class="el" href="itkImageKernelOperator_8h_source.html#l00072">itk::ImageKernelOperator< TPixel, VDimension, TAllocator >::PrintSelf()</a>, <a class="el" href="itkGaussianOperator_8h_source.html#l00136">itk::GaussianOperator< TPixel, VDimension, TAllocator >::PrintSelf()</a>, <a class="el" href="itkGaussianDerivativeOperator_8h_source.html#l00209">itk::GaussianDerivativeOperator< TPixel, VDimension, TAllocator >::PrintSelf()</a>, <a class="el" href="itkDerivativeOperator_8h_source.html#l00085">itk::DerivativeOperator< PixelType, itkGetStaticConstMacro(ImageDimension)>::PrintSelf()</a>, and <a class="el" href="itkAnnulusOperator_8h_source.html#l00196">itk::AnnulusOperator< TPixel, TDimension, TAllocator >::PrintSelf()</a>.</p> </div> </div><p> <a class="anchor" name="841c6543cb0f36b2faa37fba01da6e00"></a><!-- doxytag: member="itk::Indent::New" ref="841c6543cb0f36b2faa37fba01da6e00" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classitk_1_1Indent.html">Self</a>* itk::Indent::New </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Method for creation through the object factory. </div> </div><p> <hr><h2>Friends And Related Function Documentation</h2> <a class="anchor" name="9e84c6306742f58c816d80713958ea47"></a><!-- doxytag: member="itk::Indent::operator<<" ref="9e84c6306742f58c816d80713958ea47" args="(std::ostream &os, const Indent &o)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">ITKCommon_EXPORT std::ostream& operator<< </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>os</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classitk_1_1Indent.html">Indent</a> & </td> <td class="paramname"> <em>o</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [friend]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Print out the indentation. Basically output a bunch of spaces. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="itkIndent_8h_source.html">itkIndent.h</a></ul> </div> <hr><address><small> Generated at Fri May 8 04:27:15 2009 for ITK by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"> <img src="http://www.stack.nl/~dimitri/doxygen/doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53> </a> 1.5.9 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, © 1997-2000</small></address> </body> </html>