Go to the documentation of this file.
57 always() <<
endmsg <<
" FINALIZE " <<
endmsg <<
" \tTested maps : " <<
endmsg <<
" \t1) "
87 typedef std::map<Key, Value>
Map1;
114 always() <<
" Inserting key " <<
toString(
key ) <<
" 1st: "
115 <<
" " <<
toString( m_map1.insert( std::make_pair(
key, value1 ) ).second ) <<
" "
116 <<
toString( m_map2.insert( std::make_pair(
key, value1 ) ).second ) <<
" "
117 <<
toString( m_map3.insert( std::make_pair(
key, value1 ) ).second ) <<
" "
141 always() <<
" Inserting key " <<
toString(
key ) <<
" 2nd: "
142 <<
" " <<
toString( m_map1.insert( std::make_pair(
key, value2 ) ).second ) <<
" "
143 <<
toString( m_map2.insert( std::make_pair(
key, value2 ) ).second ) <<
" "
144 <<
toString( m_map3.insert( std::make_pair(
key, value2 ) ).second ) <<
" "
152 if ( 0 == ::labs(
key ) % 2 ) {
153 always() <<
" Erased : "
163 always() <<
" Count key 0 : "
164 <<
" " << m_map1.count( 0 ) <<
" " << m_map2.count( 0 ) <<
" " << m_map3.count( 0 ) <<
" "
165 << m_map4.count( 0 ) <<
endmsg;
166 always() <<
" Count key 1 : "
167 <<
" " << m_map1.count( 1 ) <<
" " << m_map2.count( 1 ) <<
" " << m_map3.count( 1 ) <<
" "
168 << m_map4.count( 1 ) <<
endmsg;
169 always() <<
" Count key 7 : "
170 <<
" " << m_map1.count( 7 ) <<
" " << m_map2.count( 7 ) <<
" " << m_map3.count( 7 ) <<
" "
171 << m_map4.count( 7 ) <<
endmsg;
172 always() <<
" Count key -100 : "
173 <<
" " << m_map1.count( -100 ) <<
" " << m_map2.count( -100 ) <<
" " << m_map3.count( -100 ) <<
" "
174 << m_map4.count( -100 ) <<
endmsg;
180 always() <<
" CONST: "
186 always() <<
" NON-CONST: "
void print2(Key key)
non-const printout
Alias for backward compatibility.
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
std::map< Key, Value > Map1
Parameters for the Gauss random number generation.
Random number accessor This small class encapsulates the use of the random number generator.
GaudiUtils::VectorMap< Key, Value > Map2
GaudiUtils::Map< Key, Value > Map3
StatusCode execute() override
the main execution method
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
GaudiUtils::HashMap< Key, Value > Map4
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
MapAlg(const MapAlg &)=delete
The copy constructor is disabled.
StatusCode finalize() override
the default (empty) implementation of IStateful::finalize() method
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
MapAlg & operator=(const MapAlg &)=delete
The assignement is disabled.
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
void print1(Key key) const
const-printout
StatusCode finalize() override
finalization