Simple class, which represents the local storage of N-tuple items of the given type.
More...
#include <GaudiAlg/TuplePut.h>
|
| | ItemStore () |
| | constructor : create empty map
|
| |
| | ~ItemStore () |
| | destructor : delete all known entries
|
| |
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 GaudiUtils::HashMap with the 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 38 of file TuplePut.h.
constructor : create empty map
Definition at line 45 of file TuplePut.h.
destructor : delete all known entries
Definition at line 47 of file TuplePut.h.
{
{ if ( 0 != ientry->second ) { delete ientry->second ; } }
}
the only one method:
Definition at line 56 of file TuplePut.h.
{
if (
m_map.
end() != ifound ) {
return ifound->second ; }
if ( 0 == tuple ) { return 0 ; }
{
tuple -> Error ( "ItemStore::getItem('" + key
+ "') item name is not unique").ignore() ;
return 0 ;
}
if ( 0 == tup )
{
tuple -> Error ( "ItemStore::getItem('" + key
+ "') invalid NTuple::Tuple*" ).ignore() ;
return 0 ;
}
if ( sc.isFailure() )
{
tuple -> Error ( "ItemStore::getItem('" + key
+ "') cannot addItem" , sc ).ignore() ;
return 0 ;
}
{
tuple -> Warning ( "ItemStore::getItem('" + key
+ "') the item not unique " ).ignore() ;
}
{
tuple -> Warning ( "ItemStore::getItem('" + key
+ "') item is not inserted!" ).ignore() ;
}
}
The documentation for this class was generated from the following file:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v24r2/GaudiAlg/GaudiAlg/TuplePut.h