65 Context(
const std::string &filename,
int line_number,
const std::string &function_name,
66 const std::string &compiler_name,
const std::string &compiler_version,
67 const std::string &compilation_time,
const std::string &compilation_date,
const std::string &package) ;
68 const std::string &
file()
const throw();
69 int line() const throw() ;
86#define COMPILER_NAME "gcc"
89#ifdef __INTEL_COMPILER
90#define COMPILER_NAME "icc"
94#define COMPILER_NAME "unknown"
98#define __VERSION__ "unknown"
101#ifdef TDAQ_PACKAGE_NAME
102#define ERS_PACK TDAQ_PACKAGE_NAME
108#define ERS_EMPTY *(ers::Context::empty())
117#define ERS_HERE ers::Context(__FILE__,__LINE__,__PRETTY_FUNCTION__,COMPILER_NAME,__VERSION__,__TIME__,__DATE__,ERS_PACK)
119#define ERS_HERE ers::Context(__FILE__,__LINE__,__func__,COMPILER_NAME,__VERSION__,__TIME__,__DATE__,ERS_PACK)
122#define ERS_HERE ERS_EMPTY
Source context for Issue.
static std::string s_host_type
static const Context * empty()
const std::string & package_name() const
std::string m_compiler_name
const std::string & stack_frame(int i) const
std::vector< std::string > qualifiers() const
const std::string & compiler() const
std::string m_compilation_time
std::string m_compilation_date
static void build_host_type()
std::string m_compiler_version
static std::vector< std::string > default_qualifiers
const std::string & compilation() const
static void add_qualifier(const std::string &qualif)
const std::string & position() const
static std::string & host_type()
type of target host
std::string m_package_name
std::string m_compilation
std::string m_function_name
const std::string & file() const
const std::string & function() const
std::vector< std::string > m_stack_frames
static Context * empty_instance