This class provides an interface to POOL collections.
More...
#include <PoolCollectionConverter.h>
This class provides an interface to POOL collections.
Definition at line 27 of file PoolCollectionConverter.h.
◆ PoolCollectionConverter() [1/2]
PoolCollectionConverter::PoolCollectionConverter |
( |
const std::string & |
collectionType, |
|
|
const std::string & |
inputCollection, |
|
|
unsigned int |
contextId, |
|
|
const IPoolSvc * |
svc |
|
) |
| |
Constructor.
- Parameters
-
collectionType | [IN] type of the collection ("RootCollection", or "ImplicitCollection"). |
inputCollection | [IN] name of the collection. |
svc | [IN] pointer to the PoolSvc. |
contextId | [IN] id for PoolSvc persistency service to use for input. |
Definition at line 30 of file PoolCollectionConverter.cxx.
◆ ~PoolCollectionConverter()
PoolCollectionConverter::~PoolCollectionConverter |
( |
| ) |
|
|
virtual |
◆ PoolCollectionConverter() [2/2]
◆ disconnectDb()
StatusCode PoolCollectionConverter::disconnectDb |
( |
| ) |
|
◆ initialize()
StatusCode PoolCollectionConverter::initialize |
( |
| ) |
|
Required by all Gaudi Services.
Definition at line 52 of file PoolCollectionConverter.cxx.
55 std::string::size_type p_colon = collectionType.rfind(
':');
56 if (p_colon != std::string::npos) {
90 return(StatusCode::RECOVERABLE);
92 return(StatusCode::SUCCESS);
◆ isValid()
StatusCode PoolCollectionConverter::isValid |
( |
| ) |
const |
◆ operator=()
◆ selectAll()
◆ m_collectionQuery
◆ m_collectionType
std::string PoolCollectionConverter::m_collectionType |
|
private |
◆ m_connection
std::string PoolCollectionConverter::m_connection |
|
private |
◆ m_contextId
unsigned int PoolCollectionConverter::m_contextId |
|
private |
◆ m_inputCollection
std::string PoolCollectionConverter::m_inputCollection |
|
private |
◆ m_inputContainer
std::string PoolCollectionConverter::m_inputContainer |
|
private |
◆ m_poolCollection
◆ m_poolSvc
The documentation for this class was generated from the following files:
virtual pool::ICollection * createCollection(const std::string &collectionType, const std::string &connection, const std::string &collectionName, unsigned int contextId=IPoolSvc::kInputStream) const =0