1#include "GaudiKernel/Kernel.h"
2#include "GaudiKernel/IInterface.h"
3#include "GaudiKernel/StatusCode.h"
5#include "GaudiKernel/SvcFactory.h"
6#include "GaudiKernel/MsgStream.h"
23 if ( IID_IHltStoreSvc.versionMatch(riid) ) {
27 return Service::queryInterface(riid, ppvIF) ;
29 return StatusCode::SUCCESS;
36 MsgStream log(messageService(), name());
37 log << MSG::INFO << name() <<
": Start of run initialisation" << endreq;
39 sc = Service::initialize();
40 if ( sc.isFailure() )
return sc;
50 return StatusCode::SUCCESS;
55 ContainerType::iterator pos;
56 for (pos =
m_map.begin(); pos !=
m_map.end(); ++pos) {
60 return StatusCode::SUCCESS;
67 ContainerType::iterator pos;
68 for (pos =
m_map.begin(); pos !=
m_map.end(); ++pos) {
69 cout << pos->first << endl;
78 return m_map.max_size();
87 unsigned int iListLength = this->
size();
89 ostrstream ListLength;
92 ListLength << iListLength;
94 string stringListLength = ListLength.str();
95 if (this->
exists(stringListLength)){
96 stringListLength =
"unset";
97 for (
int i = 0; i < this->
max_size(); i++){
99 ListLength << iListLength;
101 stringListLength = ListLength.str();
102 if (!(this->
exists(stringListLength))) {
103 ListLength.freeze(0);
104 return stringListLength;
109 ListLength.freeze(0);
110 return stringListLength;
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.