| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Macros
GaudiCommonImp.h File Reference

The implementation of inline/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 inline/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

#define ALG_ERROR | ( |  | message,
|  |  | code
| ) |  |

Value:
( Error( message + std::string( " [ at line " ) + std::to_string( __LINE__ ) + std::string( " in file '" ) + \
std::string( __FILE__ ) + "']", \
code ) )
std::to_string
T to_string(T...args)
std::string
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.

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