| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

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

- Search for |

- File List
- File Members

# GaudiCommonImp.h File Reference

## Detailed Description

The implementation of inline/templated methods for class GaudiCommon.

See also:
  GaudiCommon

Author:
  Vanya BELYAEV Ivan.Belyaev@itep.ru

  Chris Jones Christopher.Rob.Jones@cern.ch

Date:
  2004-01-19

Definition in file GaudiCommonImp.h.

`#include "GaudiAlg/GaudiCommon.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.

## Defines
#define | GAUDIALG_GAUDICOMMONIMP_H 1
#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.

## Define Documentation

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

Value:

    ( Error( message                                   +                  \
               std::string             ( " [ at line " ) +                  \
               GaudiAlg::fileLine      (   __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.Belyaev@itep.ru

Date:
  2002-10-29

Definition at line 334 of file GaudiCommonImp.h.

#define GAUDIALG_GAUDICOMMONIMP_H 1

Definition at line 4 of file GaudiCommonImp.h.