Fork me on GitHub

Changeset 273e668 in git for external/fastjet/Error.hh


Ignore:
Timestamp:
Oct 15, 2014, 10:55:55 AM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
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)
Message:

upgrade FastJet to version 3.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • external/fastjet/Error.hh

    rf14bd6a r273e668  
    33
    44//FJSTARTHEADER
    5 // $Id: Error.hh 3433 2014-07-23 08:17:03Z salam $
     5// $Id: Error.hh 3694 2014-09-18 13:21:54Z soyez $
    66//
    77// Copyright (c) 2005-2014, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
     
    3535#include<string>
    3636#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
    3741
    3842FASTJET_BEGIN_NAMESPACE      // defined in fastjet/internal/base.hh
     
    6569  /// controls whether the backtrace is printed out with the error message or not.
    6670  /// The default is "false".
    67   static void set_print_backtrace(bool enabled) {_print_backtrace = enabled;}
     71  static void set_print_backtrace(bool enabled);
    6872
    6973  /// sets the default output stream for all errors; by default
     
    7478
    7579private:
     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
    7688  std::string _message;                ///< error message
    7789  static bool _print_errors;           ///< do we print anything?
    7890  static bool _print_backtrace;        ///< do we print the backtrace?
    7991  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
    8095};
    8196
Note: See TracChangeset for help on using the changeset viewer.