CustusX  22.04-rc5
An IGT application
cxIndent.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXINDENT_H_
13 #define CXINDENT_H_
14 
15 #include "cxResourceExport.h"
16 
17 #include <vtkIndent.h>
18 
19 namespace cx
20 {
21 
28 class cxResource_EXPORT Indent// : public vtkIndent
29 {
30 public:
31  enum DETAIL {
34  dDETAILS
35  };
36 
37 public:
38  Indent();
39  explicit Indent(int ind, DETAIL det=dNORMAL);
40  ~Indent();
41 
42  int getIndent() const;
43  vtkIndent getVtkIndent() const;
44  Indent stepDown() const;
45  bool includeDetails() const;
46  bool includeNormal() const;
47 
49  int mIndent;
50 };
51 
52 cxResource_EXPORT ostream& operator<<(ostream &os, const Indent &val);
53 
54 
55 }
56 
57 #endif /*CXINDENT_H_*/
print all contents of ssc structures
Definition: cxIndent.h:33
DETAIL mDetail
how much info to print
Definition: cxIndent.h:48
print overall structure only
Definition: cxIndent.h:32
int mIndent
Definition: cxIndent.h:49
Formatting class for debug printing of the ssc library.
Definition: cxIndent.h:28
std::ostream & operator<<(std::ostream &s, const IntBoundingBox3D &data)
Namespace for all CustusX production code.