The Gaudi Framework  v36r9p1 (5c15b2bb)
GaudiCommonImp.h File Reference
#include <algorithm>
#include "GaudiAlg/GaudiCommon.h"
#include "GaudiAlg/GetData.h"
Include dependency graph for GaudiCommonImp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALG_ERROR(message, code)
 

Detailed Description

The implementation of templated methods for class GaudiCommon

See also
GaudiCommon
Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
Chris Jones Chris.nosp@m.toph.nosp@m.er.Ro.nosp@m.b.Jo.nosp@m.nes@c.nosp@m.ern..nosp@m.ch
Date
2004-01-19

Definition in file GaudiCommonImp.h.

Macro Definition Documentation

◆ ALG_ERROR

#define ALG_ERROR (   message,
  code 
)
Value:
( Error( message + std::string( " [ at line " ) + std::to_string( __LINE__ ) + std::string( " in file '" ) + \
std::string( __FILE__ ) + "']", \
code ) )

Small and simple macro to add into error message the file name and the line number for easy location of the problematic lines.

if ( a < 0 ) { return ALG_ERROR( "'a' is negative" , 301 ) ; }
Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
Date
2002-10-29

Definition at line 194 of file GaudiCommonImp.h.

GaudiHive.precedence.message
message
Definition: precedence.py:22
std::string
STL class.
ALG_ERROR
#define ALG_ERROR(message, code)
Definition: GaudiCommonImp.h:193
std::to_string
T to_string(T... args)