#include <GaudiAlg/TuplePut.h>
template<class VALUE>
class Tuples::ItemStore< VALUE >
Simple class, which represents the local storage of N-tuple items of the given type. Essentially it is a restricted std::unordered_map with ownership of the newly created entries
- Author
- Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u
- Date
- 2007-04-08
Definition at line 35 of file TuplePut.h.
◆ ItemStore() [1/2]
constructor : create empty map
◆ ItemStore() [2/2]
◆ getItem()
the only one method:
Definition at line 44 of file TuplePut.h.
48 if (
m_map.
end() != ifound )
return &ifound->second.first;
51 if ( !tuple )
return nullptr;
67 auto nh =
m_map.extract( iter );
68 nh.key() = nh.mapped().second;
75 tuple->
Warning(
fmt::format(
"ItemStore::getItem('{}') item already exists, new one not inserted!",
key ) )
79 auto& item = iter->second.first;
◆ operator=()
◆ TupleObj
◆ m_map
The documentation for this class was generated from the following file: