The Gaudi Framework
master (37c0b60a)
MapBase.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
// ============================================================================
12
// Include files
13
// ============================================================================
14
// STD & STD
15
// ============================================================================
16
#include <stdexcept>
17
// ============================================================================
18
// GaudiKernel
19
// ============================================================================
20
#include <
GaudiKernel/MapBase.h
>
21
#include <
GaudiKernel/System.h
>
22
// ============================================================================
29
// ============================================================================
30
// destructor
31
// ============================================================================
32
Gaudi::Utils::MapBase::~MapBase
() {}
33
// ============================================================================
34
/* throw std::out_of_range exception
35
* @see std::out_of_range
36
*/
37
// ============================================================================
38
void
Gaudi::Utils::MapBase::throw_out_of_range_exception
()
const
{
39
std::string
_nam =
System::typeinfoName
(
typeid
( *
this
) );
40
throw
std::out_of_range
( _nam.
c_str
() );
41
}
42
// ============================================================================
43
44
// ============================================================================
45
// The END
46
// ============================================================================
std::string
STL class.
System.h
Gaudi::Utils::MapBase::~MapBase
virtual ~MapBase()
virtual destructor
Definition:
MapBase.cpp:32
System::typeinfoName
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Definition:
System.cpp:315
std::string::c_str
T c_str(T... args)
std::out_of_range
STL class.
MapBase.h
Gaudi::Utils::MapBase::throw_out_of_range_exception
void throw_out_of_range_exception() const
throw std::out_of_range exception
Definition:
MapBase.cpp:38
GaudiKernel
src
Lib
MapBase.cpp
Generated on Thu Dec 19 2024 15:35:03 for The Gaudi Framework by
1.8.18