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"). |
| svc | [IN] pointer to the PoolSvc. |
| contextId | [IN] id for PoolSvc persistency service to use for input. |
Definition at line 27 of file PoolCollectionConverter.cxx.
30 :
36}
std::string m_inputCollection
pool::ICollection * m_poolCollection
const IPoolSvc * m_poolSvc
std::string m_collectionType
◆ ~PoolCollectionConverter()
| PoolCollectionConverter::~PoolCollectionConverter |
( |
| ) |
|
|
virtual |
◆ PoolCollectionConverter() [2/2]
◆ disconnectDb()
| StatusCode PoolCollectionConverter::disconnectDb |
( |
| ) |
|
Disconnect Database.
Definition at line 66 of file PoolCollectionConverter.cxx.
66 {
68 return StatusCode::SUCCESS;
69 }
72 }
73 return StatusCode::SUCCESS;
74}
int type() const
Access to full type.
static const DbType POOL_StorageType
◆ initialize()
| StatusCode PoolCollectionConverter::initialize |
( |
| ) |
|
Required by all Gaudi Services.
Definition at line 45 of file PoolCollectionConverter.cxx.
45 {
46
50
52 }
53 try {
56 }
59 }
60 } catch (std::exception &e) {
62 }
63 return StatusCode::SUCCESS;
64}
static const DbType ROOT_StorageType
◆ isValid()
| StatusCode PoolCollectionConverter::isValid |
( |
| ) |
const |
◆ operator=()
◆ selectAll()
- Returns
- ICollectionCursor over all entries
Definition at line 80 of file PoolCollectionConverter.cxx.
80 {
83}
std::unique_ptr< pool::ICollectionCursor > m_collectionCursor
◆ m_collectionCursor
◆ m_collectionType
| std::string PoolCollectionConverter::m_collectionType |
|
private |
◆ m_contextId
| unsigned int PoolCollectionConverter::m_contextId |
|
private |
◆ m_inputCollection
| std::string PoolCollectionConverter::m_inputCollection |
|
private |
◆ m_poolCollection
◆ m_poolSvc
| const IPoolSvc* PoolCollectionConverter::m_poolSvc |
|
private |
The documentation for this class was generated from the following files: