ATLAS Offline Software
Loading...
Searching...
No Matches
Collection.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EVENTSELECTORATHENAPOOL_COLLECTION_H
6#define EVENTSELECTORATHENAPOOL_COLLECTION_H
7
11
12#include <map>
13#include <memory>
14#include <string>
15#include <vector>
16
17namespace pool {
18
19 class CollectionColumn;
20 class CollectionCursor;
21
26 class Collection : public APRMessaging {
27
28 public:
30 explicit Collection( FileDescriptor& fileDescr );
31
34
36 std::unique_ptr<CollectionCursor> cursor();
37
38 private:
39 Collection(const Collection &) = delete;
40 Collection& operator = (const Collection &) = delete;
41
42 std::vector<CollectionColumn> m_attributeColumns;
43
45 std::map<std::string, DbContainer> m_containerMap;
48 };
49}
50#endif
APRMessaging(const std::string &name)
An implementation for retrieving a description of a column of a collection.
Reader object for Collections.
~Collection()
Defined out of line because CollectionColumn is incomplete here.
std::vector< CollectionColumn > m_attributeColumns
Definition Collection.h:42
std::unique_ptr< CollectionCursor > cursor()
Returns a cursor for the collection.
Collection(FileDescriptor &fileDescr)
Construct from an already-connected file descriptor.
Collection(const Collection &)=delete
std::map< std::string, DbContainer > m_containerMap
Map of container names to container handles for all EventTag attributes in the file.
Definition Collection.h:45
DbContainer m_dhCont
The DataHeader container, if present, in the file.
Definition Collection.h:47
Collection & operator=(const Collection &)=delete
Description: Definition of the object describing a database container Handle managing a DbContainerOb...
Definition DbContainer.h:48