Fraxinus  17.12-rc3
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 49 of file cxIndent.h.

Member Enumeration Documentation

Enumerator
dSTRUCTURE 

print overall structure only

dNORMAL 

print all contents of ssc structures

dDETAILS 

include printing of vtk objects

Definition at line 52 of file cxIndent.h.

Constructor & Destructor Documentation

cx::Indent::Indent ( )

Definition at line 38 of file cxIndent.cpp.

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

Definition at line 40 of file cxIndent.cpp.

cx::Indent::~Indent ( )

Definition at line 42 of file cxIndent.cpp.

Member Function Documentation

int cx::Indent::getIndent ( ) const

Definition at line 44 of file cxIndent.cpp.

vtkIndent cx::Indent::getVtkIndent ( ) const

Definition at line 46 of file cxIndent.cpp.

bool cx::Indent::includeDetails ( ) const

Definition at line 53 of file cxIndent.cpp.

bool cx::Indent::includeNormal ( ) const

Definition at line 58 of file cxIndent.cpp.

Indent cx::Indent::stepDown ( ) const

Definition at line 48 of file cxIndent.cpp.

Member Data Documentation

DETAIL cx::Indent::mDetail

how much info to print

Definition at line 69 of file cxIndent.h.

int cx::Indent::mIndent

Definition at line 70 of file cxIndent.h.


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