+//#define IS_OBJ_IN_QUESTION(where) is_obj_in_question(this, myRefCounter, where)
+#define IS_OBJ_IN_QUESTION(where)
+
+namespace SALOME
+{
+ void is_obj_in_question( const GenericObj_i* o, int myRefCounter,const char* where)
+ {
+ if ( std::string( typeid(*o).name() ).find("SALOMEDS") != std::string::npos )
+ return;
+ // if ( std::string( typeid(*o).name() ).find("SMESH_") != std::string::npos ||
+ // std::string( typeid(*o).name() ).find("StdMesher") != std::string::npos )
+ {
+ std::cout<< typeid(*o).name() << " " << o << " " << where << " myRefCounter ==> " << myRefCounter;
+ if ( myRefCounter == 0 ) std::cout << " DELETE !";
+ std::cout << std::endl;
+ }
+ }
+
+ /*!
+ \class SALOME::GenericObj_i
+ \brief Implementation of the base servant for SALOME objects with reference counter.
+
+ This class can be used to implement data entities with life-cycle management based on
+ the reference counting.