20#include "GaudiKernel/StatusCode.h"
27 const std::string& inputCollection,
28 unsigned int contextId,
51 std::string::size_type p_colon = collectionType.rfind(
':');
52 if (p_colon != std::string::npos) {
69 }
catch (std::exception &e) {
85 }
catch (std::exception &e) {
86 return StatusCode::RECOVERABLE;
88 return StatusCode::SUCCESS;
93 return StatusCode::SUCCESS;
98 return StatusCode::SUCCESS;
102 return m_poolCollection !=
nullptr ? StatusCode::SUCCESS : StatusCode::FAILURE;
This file contains the class definition for the IPoolSvc interface class.
This file contains the class definition for the PoolCollectionConverter class.
This file contains the class definition for the Token class (migrated from POOL).
This class provides the interface to the LCG POOL persistency software.
std::string m_inputCollection
StatusCode disconnectDb()
Disconnect Database.
pool::ICollectionCursor * m_collectionCursor
pool::ICollection * m_poolCollection
StatusCode isValid() const
Check whether has valid pool::ICollection*.
const IPoolSvc * m_poolSvc
PoolCollectionConverter(const std::string &collectionType, const std::string &inputCollection, unsigned int contextId, const IPoolSvc *svc)
Constructor.
pool::ICollectionCursor & selectAll()
virtual ~PoolCollectionConverter()
Destructor.
StatusCode initialize()
Required by all Gaudi Services.
std::string m_collectionType
std::string m_inputContainer
An interface used to navigate the result of a query on a collection.