00001 #ifndef UTILITIES_GENERAL_BACKTRACE_H 00002 #define UTILITIES_GENERAL_BACKTRACE_H 00003 // 00004 // V 0.0 00005 // V.I.&L.T. 19/07/2001 00006 // imported from original Lassi code... 00007 00008 #include <iosfwd> 00009 00012 class BackTrace { 00013 public: 00014 enum {MAX_BACKTRACE_DEPTH=100}; 00016 BackTrace(); 00017 00019 ~BackTrace(){} 00020 00021 void trace() const; 00022 void trace(std::ostream & out) const; 00023 00024 private: 00025 00026 }; 00027 00028 #endif // UTILITIES_GENERAL_BACKTRACE_H