ATLAS Offline Software
Loading...
Searching...
No Matches
PoolCollectionConverter.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef POOLCOLLECTIONCONVERTER_H
6#define POOLCOLLECTIONCONVERTER_H
7
12
13#include <string>
14
15// Forward declarations
16class IPoolSvc;
17namespace pool {
18 class ICollection;
20}
21class StatusCode;
22
27
28public:
35 PoolCollectionConverter(const std::string& collectionType,
36 const std::string& inputCollection,
37 unsigned int contextId,
38 const IPoolSvc* svc);
39
42
44 StatusCode initialize();
45
47 StatusCode disconnectDb();
48
50 StatusCode isValid() const;
51
54
55private: // data
56 std::string m_collectionType;
57 std::string m_connection;
58 std::string m_inputCollection;
59 unsigned int m_contextId;
63 std::string m_inputContainer;
64
65private: // hide copy and assignment
68};
69#endif
This class provides the interface to the LCG POOL persistency software.
Definition IPoolSvc.h:35
StatusCode disconnectDb()
Disconnect Database.
pool::ICollectionCursor * m_collectionCursor
pool::ICollection * m_poolCollection
StatusCode isValid() const
Check whether has valid pool::ICollection*.
PoolCollectionConverter(const std::string &collectionType, const std::string &inputCollection, unsigned int contextId, const IPoolSvc *svc)
Constructor.
pool::ICollectionCursor & selectAll()
PoolCollectionConverter(const PoolCollectionConverter &rhs)
PoolCollectionConverter & operator=(const PoolCollectionConverter &rhs)
virtual ~PoolCollectionConverter()
Destructor.
StatusCode initialize()
Required by all Gaudi Services.
An interface used to navigate the result of a query on a collection.
An interface to a storage technology specific collection of event references and attributes.
Definition ICollection.h:23
pool namespace
Definition libname.h:15