Logo ROOT   6.08/07
Reference Guide
Macros
Error.h File Reference
#include <iostream>
Include dependency graph for Error.h:
This graph shows which files directly or indirectly include this file:

Macros

#define MATH_ERROR_MSG(loc, str)
 
#define MATH_ERROR_MSGVAL(loc, str, x)   ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
 
#define MATH_ERROR_VAL(loc, x)   ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;
 
#define MATH_INFO_MSG(loc, str)
 
#define MATH_INFO_MSGVAL(loc, str, x)   ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
 
#define MATH_INFO_VAL(loc, x)   ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;
 
#define MATH_WARN_MSG(loc, str)
 
#define MATH_WARN_MSGVAL(loc, str, x)   ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
 
#define MATH_WARN_VAL(loc, x)   ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;
 
#define ROOT_MATH_OS   std::cerr
 Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::iostream in case of stan-alone builds. More...
 

Macro Definition Documentation

◆ MATH_ERROR_MSG

#define MATH_ERROR_MSG (   loc,
  str 
)
Value:
ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << str \
<< std::endl;
#define ROOT_MATH_OS
Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::io...
Definition: Error.h:37

Definition at line 50 of file Error.h.

◆ MATH_ERROR_MSGVAL

#define MATH_ERROR_MSGVAL (   loc,
  str,
  x 
)    ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;

Definition at line 69 of file Error.h.

◆ MATH_ERROR_VAL

#define MATH_ERROR_VAL (   loc,
  x 
)    ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;

Definition at line 60 of file Error.h.

◆ MATH_INFO_MSG

#define MATH_INFO_MSG (   loc,
  str 
)
Value:
ROOT_MATH_OS << "Info in ROOT::Math::" << loc << ">: " << str \
<< std::endl;
#define ROOT_MATH_OS
Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::io...
Definition: Error.h:37

Definition at line 44 of file Error.h.

◆ MATH_INFO_MSGVAL

#define MATH_INFO_MSGVAL (   loc,
  str,
  x 
)    ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;

Definition at line 65 of file Error.h.

◆ MATH_INFO_VAL

#define MATH_INFO_VAL (   loc,
  x 
)    ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;

Definition at line 56 of file Error.h.

◆ MATH_WARN_MSG

#define MATH_WARN_MSG (   loc,
  str 
)
Value:
ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << str \
<< std::endl;
#define ROOT_MATH_OS
Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::io...
Definition: Error.h:37

Definition at line 47 of file Error.h.

◆ MATH_WARN_MSGVAL

#define MATH_WARN_MSGVAL (   loc,
  str,
  x 
)    ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;

Definition at line 67 of file Error.h.

◆ MATH_WARN_VAL

#define MATH_WARN_VAL (   loc,
  x 
)    ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;

Definition at line 58 of file Error.h.

◆ ROOT_MATH_OS

#define ROOT_MATH_OS   std::cerr

Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::iostream in case of stan-alone builds.

Definition at line 37 of file Error.h.