Gaudi Framework, version v23r0 |
Home | Generated: Mon Jan 30 2012 |
Helper base-class to allow the generic Python-decoration for all "map-like" classes in Gaudi. More...
#include <MapBase.h>
Public Member Functions | |
virtual | ~MapBase () |
virtual destructor | |
Protected Member Functions | |
void | throw_out_of_range_exception () const |
throw std::out_of_range exception |
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
Definition at line 46 of file MapBase.h.
Gaudi::Utils::MapBase::~MapBase | ( | ) | [virtual] |
void Gaudi::Utils::MapBase::throw_out_of_range_exception | ( | ) | const [protected] |
throw std::out_of_range exception
Definition at line 29 of file MapBase.cpp.
{ std::string _nam = System::typeinfoName ( typeid ( *this ) ) ; throw std::out_of_range ( _nam.c_str () ) ; }