#include <FFTJetDict.h>
Public Member Functions | |
T & | operator[] (const Key &) const |
Definition at line 18 of file FFTJetDict.h.
T & FFTJetDict< Key, T, Compare, Allocator >::operator[] | ( | const Key & | key | ) | const [inline] |
Definition at line 25 of file FFTJetDict.h.
References end, Exception, and spr::find().
{ typename FFTJetDict<Key,T,Compare,Allocator>::const_iterator it = this->find(key); if (it == std::map<Key,T,Compare,Allocator>::end()) throw cms::Exception("KeyNotFound") << "FFTJetDict: key \"" << key << "\" not found\n"; return const_cast<T&>(it->second); }