Changeset 273e668 in git for external/fastjet/Error.hh
- Timestamp:
- Oct 15, 2014, 10:55:55 AM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 35b9204, b25d4cf
- Parents:
- f14bd6a
- git-author:
- Pavel Demin <pavel.demin@…> (10/10/14 08:56:40)
- git-committer:
- Pavel Demin <pavel.demin@…> (10/15/14 10:55:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
external/fastjet/Error.hh
rf14bd6a r273e668 3 3 4 4 //FJSTARTHEADER 5 // $Id: Error.hh 3 433 2014-07-23 08:17:03Z salam$5 // $Id: Error.hh 3694 2014-09-18 13:21:54Z soyez $ 6 6 // 7 7 // Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez … … 35 35 #include<string> 36 36 #include "fastjet/internal/base.hh" 37 #include "fastjet/config.h" 38 #if (!defined(FASTJET_HAVE_EXECINFO_H)) || defined(__FJCORE__) 39 #include "fastjet/LimitedWarning.hh" 40 #endif 37 41 38 42 FASTJET_BEGIN_NAMESPACE // defined in fastjet/internal/base.hh … … 65 69 /// controls whether the backtrace is printed out with the error message or not. 66 70 /// The default is "false". 67 static void set_print_backtrace(bool enabled) {_print_backtrace = enabled;}71 static void set_print_backtrace(bool enabled); 68 72 69 73 /// sets the default output stream for all errors; by default … … 74 78 75 79 private: 80 81 #ifndef __FJCORE__ 82 #if defined(FASTJET_HAVE_EXECINFO_H) && defined(FASTJET_HAVE_DEMANGLING_SUPPORT) 83 /// demangle a given backtrace symbol 84 std::string _demangle(const char* symbol); 85 #endif 86 #endif 87 76 88 std::string _message; ///< error message 77 89 static bool _print_errors; ///< do we print anything? 78 90 static bool _print_backtrace; ///< do we print the backtrace? 79 91 static std::ostream * _default_ostr; ///< the output stream (cerr if not set) 92 #if (!defined(FASTJET_HAVE_EXECINFO_H)) || defined(__FJCORE__) 93 static LimitedWarning _execinfo_undefined; 94 #endif 80 95 }; 81 96
Note:
See TracChangeset
for help on using the changeset viewer.