This class provides an interface to POOL collections.
More...
#include <PoolCollectionConverter.h>
This class provides an interface to POOL collections.
Definition at line 26 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 28 of file PoolCollectionConverter.cxx.
31 :
39}
std::string m_inputCollection
pool::ICollectionCursor * m_collectionCursor
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 73 of file PoolCollectionConverter.cxx.
73 {
75 return StatusCode::SUCCESS;
76 }
79 }
80 return StatusCode::SUCCESS;
81}
int type() const
Access to full type.
static const DbType POOL_StorageType
◆ initialize()
| StatusCode PoolCollectionConverter::initialize |
( |
| ) |
|
Required by all Gaudi Services.
Definition at line 49 of file PoolCollectionConverter.cxx.
49 {
50
54
56 } else {
57
59 }
60 try {
63 }
66 }
67 } catch (std::exception &e) {
69 }
70 return StatusCode::SUCCESS;
71}
static const DbType ROOT_StorageType
◆ isValid()
| StatusCode PoolCollectionConverter::isValid |
( |
| ) |
const |
◆ operator=()
◆ selectAll()
◆ m_collectionCursor
◆ 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_poolCollection
◆ m_poolSvc
| const IPoolSvc* PoolCollectionConverter::m_poolSvc |
|
private |
The documentation for this class was generated from the following files: