![]() |
ATLAS Offline Software
|
This class provides an interface to POOL collections. More...
#include <PoolCollectionConverter.h>
Public Member Functions | |
| PoolCollectionConverter (const std::string &collectionType, const std::string &inputCollection, unsigned int contextId, const IPoolSvc *svc) | |
| Constructor. | |
| virtual | ~PoolCollectionConverter () |
| Destructor. | |
| StatusCode | initialize () |
| Required by all Gaudi Services. | |
| pool::ICollection * | createCollection (const std::string &connection, const std::string &collectionName, const pool::DbType &collectionType, unsigned int contextId) const |
| StatusCode | disconnectDb () |
| Disconnect Database. | |
| StatusCode | isValid () const |
| Check whether has valid pool::ICollection*. | |
| std::unique_ptr< pool::ICollectionCursor > | selectAll () |
Private Member Functions | |
| PoolCollectionConverter (const PoolCollectionConverter &rhs) | |
| PoolCollectionConverter & | operator= (const PoolCollectionConverter &rhs) |
Private Attributes | |
| std::string | m_collectionType |
| std::string | m_inputCollection |
| unsigned int | m_contextId |
| const IPoolSvc * | m_poolSvc |
| pool::ICollection * | m_poolCollection |
This class provides an interface to POOL collections.
Definition at line 28 of file PoolCollectionConverter.h.
| PoolCollectionConverter::PoolCollectionConverter | ( | const std::string & | collectionType, |
| const std::string & | inputCollection, | ||
| unsigned int | contextId, | ||
| const IPoolSvc * | svc ) |
Constructor.
| 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 30 of file PoolCollectionConverter.cxx.
|
virtual |
Destructor.
Definition at line 41 of file PoolCollectionConverter.cxx.
|
private |
| pool::ICollection * PoolCollectionConverter::createCollection | ( | const std::string & | connection, |
| const std::string & | collectionName, | ||
| const pool::DbType & | collectionType, | ||
| unsigned int | contextId ) const |
| collectionType | [IN] string containing the collection type. |
| connection | [IN] string containing the connection. |
| collectionName | [IN] string containing the persistent name of the collection. |
| contextId | [IN] id for PoolSvc persistency service to use for input. |
Definition at line 81 of file PoolCollectionConverter.cxx.
| StatusCode PoolCollectionConverter::disconnectDb | ( | ) |
Disconnect Database.
Definition at line 98 of file PoolCollectionConverter.cxx.
| StatusCode PoolCollectionConverter::initialize | ( | ) |
Required by all Gaudi Services.
Definition at line 48 of file PoolCollectionConverter.cxx.
| StatusCode PoolCollectionConverter::isValid | ( | ) | const |
Check whether has valid pool::ICollection*.
Definition at line 105 of file PoolCollectionConverter.cxx.
|
private |
| std::unique_ptr< pool::ICollectionCursor > PoolCollectionConverter::selectAll | ( | ) |
Definition at line 109 of file PoolCollectionConverter.cxx.
|
private |
Definition at line 67 of file PoolCollectionConverter.h.
|
private |
Definition at line 69 of file PoolCollectionConverter.h.
|
private |
Definition at line 68 of file PoolCollectionConverter.h.
|
private |
Definition at line 71 of file PoolCollectionConverter.h.
Definition at line 70 of file PoolCollectionConverter.h.