The Gaudi Framework  v30r3 (a5ef0a68)
MapBase.cpp
Go to the documentation of this file.
1 // ============================================================================
2 // Include files
3 // ============================================================================
4 // STD & STD
5 // ============================================================================
6 #include <stdexcept>
7 // ============================================================================
8 // GaudiKernel
9 // ============================================================================
10 #include "GaudiKernel/MapBase.h"
11 #include "GaudiKernel/System.h"
12 // ============================================================================
19 // ============================================================================
20 // destructor
21 // ============================================================================
23 // ============================================================================
24 /* throw std::out_of_range exception
25  * @see std::out_of_range
26  */
27 // ============================================================================
29 {
30  std::string _nam = System::typeinfoName( typeid( *this ) );
31  throw std::out_of_range( _nam.c_str() );
32 }
33 // ============================================================================
34 
35 // ============================================================================
36 // The END
37 // ============================================================================
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Definition: System.cpp:332
STL class.
T c_str(T...args)
void throw_out_of_range_exception() const
throw std::out_of_range exception
Definition: MapBase.cpp:28
virtual ~MapBase()
virtual destructor
Definition: MapBase.cpp:22