| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
Gaudi::Utils::MapBase Class Reference

Helper base-class to allow the generic Python-decoration for all "map-like" classes in Gaudi. More...

`#include <MapBase.h>`

Inheritance diagram for Gaudi::Utils::MapBase:
[legend]

## Public Member Functions
virtual | ~MapBase ()
| virtual destructor

## Protected Member Functions
void | throw_out_of_range_exception () const
| throw std::out_of_range exception

## Detailed Description

Helper base-class to allow the generic Python-decoration for all "map-like" classes in Gaudi.

The corresponding Python class provide the useful iterators, look-up, etc. This base-class in python is decorated with the following methods

- `len`
- `iter`
- `iteritems`
- `contains`
- `repr`
- `setitem`
- `delitem`
- `str`
- `repr`
- `keys`
- `items`
- `values`
- `get`
- `has_key`

Thus it behaves practically identically with builtin-type `dict`

Author
  Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru

Date
  2010-02-20

Definition at line 46 of file MapBase.h.

## Constructor & Destructor Documentation

Gaudi::Utils::MapBase::~MapBase | ( |  | ) |
| virtual

virtual destructor

Definition at line 23 of file MapBase.cpp.

{}

## Member Function Documentation

void Gaudi::Utils::MapBase::throw_out_of_range_exception | ( |  | ) | const
| protected

throw std::out_of_range exception

See Also
  std::out_of_range

Definition at line 29 of file MapBase.cpp.

{
std::string _nam = System::typeinfoName ( typeid ( *this ) ) ;
throw std::out_of_range ( _nam.c_str () ) ;
}

The documentation for this class was generated from the following files:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/MapBase.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/src/Lib/MapBase.cpp