NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::Indent Class Reference

Formatting class for debug printing of the ssc library. More...

#include <cxIndent.h>

Public Types

enum  DETAIL { dSTRUCTURE, dNORMAL, dDETAILS }
 

Public Member Functions

 Indent ()
 
 Indent (int ind, DETAIL det=dNORMAL)
 
 ~Indent ()
 
int getIndent () const
 
vtkIndent getVtkIndent () const
 
Indent stepDown () const
 
bool includeDetails () const
 
bool includeNormal () const
 

Public Attributes

DETAIL mDetail
 how much info to print More...
 
int mIndent
 

Detailed Description

Formatting class for debug printing of the ssc library.

Based on vtkIndent.

Definition at line 28 of file cxIndent.h.

Member Enumeration Documentation

◆ DETAIL

Enumerator
dSTRUCTURE 

print overall structure only

dNORMAL 

print all contents of ssc structures

dDETAILS 

include printing of vtk objects

Definition at line 31 of file cxIndent.h.

Constructor & Destructor Documentation

◆ Indent() [1/2]

cx::Indent::Indent ( )

Definition at line 17 of file cxIndent.cpp.

◆ Indent() [2/2]

cx::Indent::Indent ( int  ind,
DETAIL  det = dNORMAL 
)
explicit

Definition at line 19 of file cxIndent.cpp.

◆ ~Indent()

cx::Indent::~Indent ( )

Definition at line 21 of file cxIndent.cpp.

Member Function Documentation

◆ getIndent()

int cx::Indent::getIndent ( ) const

Definition at line 23 of file cxIndent.cpp.

◆ getVtkIndent()

vtkIndent cx::Indent::getVtkIndent ( ) const

Definition at line 25 of file cxIndent.cpp.

◆ includeDetails()

bool cx::Indent::includeDetails ( ) const

Definition at line 32 of file cxIndent.cpp.

◆ includeNormal()

bool cx::Indent::includeNormal ( ) const

Definition at line 37 of file cxIndent.cpp.

◆ stepDown()

Indent cx::Indent::stepDown ( ) const

Definition at line 27 of file cxIndent.cpp.

Member Data Documentation

◆ mDetail

DETAIL cx::Indent::mDetail

how much info to print

Definition at line 48 of file cxIndent.h.

◆ mIndent

int cx::Indent::mIndent

Definition at line 49 of file cxIndent.h.


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