Salome HOME
test linear interpolation of a stream
[modules/hydro.git] / src / HYDROData / HYDRO_trace.hxx
1 #ifndef __HYDROTRACE_HXX__
2 #define __HYDROTRACE_HXX__
3
4 #include <iostream>
5 #include <sstream>
6 //#include <pthread.h>
7
8 #ifdef _DEVDEBUG_
9 //#define DEBTRACE(msg) {std::cerr<<std::flush<<pthread_self()<<":"__FILE__<<" ["<<__LINE__<<"] : "<<msg<<std::endl<<std::flush;}
10 #define DEBTRACE(msg) {std::cerr << std::flush <<  __FILE__ << " [" << __LINE__ << "] : " << msg << std::endl << std::flush;}
11 #else
12 #define DEBTRACE(msg)
13 #endif
14
15 #endif