X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_I%2FSMESH_NoteBook.cxx;h=bdfdcf1d22e4d4c71c2d42850c247b7bd6c5fc70;hb=aa034dad38ed214bf71255119d299ec6826588f8;hp=f999ad4e2f5562e73fd4b3fca52106f65d3bafe3;hpb=382f2cc4abb2ee8553a911aeb27348e96c39d197;p=modules%2Fsmesh.git diff --git a/src/SMESH_I/SMESH_NoteBook.cxx b/src/SMESH_I/SMESH_NoteBook.cxx index f999ad4e2..bdfdcf1d2 100644 --- a/src/SMESH_I/SMESH_NoteBook.cxx +++ b/src/SMESH_I/SMESH_NoteBook.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2020 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -36,12 +36,6 @@ #include #include -#ifdef _DEBUG_ -static int MYDEBUG = 0; -#else -static int MYDEBUG = 0; -#endif - using namespace std; @@ -242,7 +236,7 @@ void SMESH_NoteBook::ReplaceVariables() TCollection_AsciiString aMethod = aCmd->GetMethod(); TCollection_AsciiString aObject = aCmd->GetObject(); TCollection_AsciiString aResultValue = aCmd->GetResultValue(); - if(MYDEBUG) { + if(SALOME::VerbosityActivated()) { cout<<"Command before : "<< aCmd->GetString()<AddDistribution(aCmd->GetArg(1)); - if(MYDEBUG) + if(SALOME::VerbosityActivated()) cout<<"Add Distribution :"<GetArg(1)<GetString()< allVars = aGen->GetAllParameters( anID.in() ); SALOMEDS::ListOfListOfStrings_var aSections = aStudy->ParseVariables(aParameters.in()); _entry2VarsMap[ TCollection_AsciiString( anID.in() )] = allVars; - if(MYDEBUG) { + if(SALOME::VerbosityActivated()) { cout<<"Entry : "<< anID<_is_nil() ) { anObjType = "Mesh"; } - if(MYDEBUG) + if(SALOME::VerbosityActivated()) cout<<"The object Type : "<