mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-09-29 22:22:51 +05:00
38 lines
522 B
C++
38 lines
522 B
C++
|
// Copyright (C) 2003 CEA/DEN, EDF R&D
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
// File : VISU_DatConvertor.cxx
|
||
|
// Author : Alexey PETROV
|
||
|
// Module : VISU
|
||
|
|
||
|
#include "UNV_Utilities.hxx"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
#ifdef _DEBUG_
|
||
|
static int MYDEBUG = 1;
|
||
|
#else
|
||
|
static int MYDEBUG = 0;
|
||
|
#endif
|
||
|
|
||
|
|
||
|
int UNV::PrefixPrinter::myCounter = 0;
|
||
|
|
||
|
UNV::PrefixPrinter::PrefixPrinter()
|
||
|
{
|
||
|
myCounter++;
|
||
|
}
|
||
|
|
||
|
UNV::PrefixPrinter::~PrefixPrinter()
|
||
|
{
|
||
|
myCounter--;
|
||
|
}
|
||
|
|
||
|
string UNV::PrefixPrinter::GetPrefix()
|
||
|
{
|
||
|
if(myCounter)
|
||
|
return string(myCounter*2,' ');
|
||
|
return "";
|
||
|
}
|