The Gaudi Framework  v33r1 (b1225454)
GaudiCommonImp.h File Reference

The implementation of templated methods for class GaudiCommon. More...

#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)
 Small and simple macro to add into error message the file name and the line number for easy location of the problematic lines. More...
 

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 ) )
T to_string(T... args)
STL class.

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 193 of file GaudiCommonImp.h.