1#include "GaudiKernel/IInterface.h"
2#include "GaudiKernel/Kernel.h"
3#include "GaudiKernel/StatusCode.h"
5#include "GaudiKernel/MsgStream.h"
6#include "GaudiKernel/SvcFactory.h"
20 if ( IID_IHltStoreSvc.versionMatch( riid ) )
25 else {
return Service::queryInterface( riid, ppvIF ); }
26 return StatusCode::SUCCESS;
32 MsgStream log(
msgSvc(), name() );
33 log << MSG::INFO << name() <<
": Start of run initialisation" << endmsg;
35 sc = Service::initialize();
36 if ( sc.isFailure() )
return sc;
46 return StatusCode::SUCCESS;
50 ContainerType::iterator pos;
51 for ( pos =
m_map.begin(); pos !=
m_map.end(); ++pos )
56 return StatusCode::SUCCESS;
63 ContainerType::iterator pos;
64 for ( pos =
m_map.begin(); pos !=
m_map.end(); ++pos ) { cout << pos->first << endl; }
77 unsigned int iListLength = this->
size();
79 ostrstream ListLength;
82 ListLength << iListLength;
84 string stringListLength = ListLength.str();
85 if ( this->
exists( stringListLength ) )
87 stringListLength =
"unset";
88 for (
int i = 0; i < this->
max_size(); i++ )
91 ListLength << iListLength;
93 stringListLength = ListLength.str();
94 if ( !( this->
exists( stringListLength ) ) )
96 ListLength.freeze( 0 );
97 return stringListLength;
102 ListLength.freeze( 0 );
103 return stringListLength;
DECLARE_COMPONENT(BesBdkRc)
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvIF)
virtual StatusCode finalize()
HltStoreSvc(const std::string &name, ISvcLocator *sl)
bool exists(const std::string &name)
virtual StatusCode initialize()
Forward and external declarations.