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:
34 PoolCollectionConverter(const std::string& collectionType,
35 const std::string& inputCollection,
36 unsigned int contextId,
37 const IPoolSvc* svc);
38
41
43 StatusCode initialize();
44
46 StatusCode disconnectDb();
47
49 StatusCode isValid() const;
50
53
54private: // data
55 std::string m_collectionType;
56 std::string m_connection;
57 std::string m_inputCollection;
58 unsigned int m_contextId;
62
63private: // hide copy and assignment
66};
67#endif
This class provides the interface to the LCG POOL persistency software.
Definition IPoolSvc.h:36
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