Salome HOME
*** empty log message ***
[modules/smesh.git] / src / DriverUNV / UNV_Utilities.cxx
1 //  Copyright (C) 2003  CEA/DEN, EDF R&D
2 //
3 //
4 //
5 //  File   : VISU_DatConvertor.cxx
6 //  Author : Alexey PETROV
7 //  Module : VISU
8
9 #include "UNV_Utilities.hxx"
10
11 using namespace std;
12
13 #ifdef _DEBUG_
14 static int MYDEBUG = 1;
15 #else
16 static int MYDEBUG = 0;
17 #endif
18
19
20 int UNV::PrefixPrinter::myCounter = 0;
21
22 UNV::PrefixPrinter::PrefixPrinter()
23 {
24   myCounter++;
25 }
26
27 UNV::PrefixPrinter::~PrefixPrinter()
28 {
29   myCounter--;
30 }
31
32 string UNV::PrefixPrinter::GetPrefix()
33 {
34   if(myCounter)
35     return string(myCounter*2,' ');
36   return "";
37 }