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"). |
| 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 26 of file PoolCollectionConverter.cxx.
29 :
38}
std::string m_inputCollection
pool::ICollectionCursor * m_collectionCursor
pool::ICollection * m_poolCollection
const IPoolSvc * m_poolSvc
std::string m_collectionType
std::string m_inputContainer
◆ ~PoolCollectionConverter()
| PoolCollectionConverter::~PoolCollectionConverter |
( |
| ) |
|
|
virtual |
◆ PoolCollectionConverter() [2/2]
◆ disconnectDb()
| StatusCode PoolCollectionConverter::disconnectDb |
( |
| ) |
|
Disconnect Database.
Definition at line 91 of file PoolCollectionConverter.cxx.
91 {
93 return StatusCode::SUCCESS;
94 }
97 }
98 return StatusCode::SUCCESS;
99}
◆ initialize()
| StatusCode PoolCollectionConverter::initialize |
( |
| ) |
|
Required by all Gaudi Services.
Definition at line 48 of file PoolCollectionConverter.cxx.
48 {
49
51 std::string::size_type p_colon = collectionType.rfind(':');
52 if (p_colon != std::string::npos) {
55 }
57
61
63 } else {
64
66 }
67 try {
69 } catch (std::exception &e) {
71 }
73
75 }
76 }
77 try {
80 }
84 }
85 } catch (std::exception &e) {
86 return StatusCode::RECOVERABLE;
87 }
88 return StatusCode::SUCCESS;
89}
◆ 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_inputContainer
| std::string PoolCollectionConverter::m_inputContainer |
|
private |
◆ m_poolCollection
◆ m_poolSvc
| const IPoolSvc* PoolCollectionConverter::m_poolSvc |
|
private |
The documentation for this class was generated from the following files: