ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
EventSelectorAthenaPool
src
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
8
#include "
StorageSvc/DbContainer.h
"
9
#include "
StorageSvc/DbPrint.h
"
10
#include "
StorageSvc/FileDescriptor.h
"
11
12
#include <map>
13
#include <memory>
14
#include <string>
15
#include <vector>
16
17
namespace
pool
{
18
19
class
CollectionColumn
;
20
class
CollectionCursor
;
21
26
class
Collection
:
public
APRMessaging
{
27
28
public
:
30
explicit
Collection
(
FileDescriptor
& fileDescr );
31
33
~Collection
();
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
;
47
DbContainer
m_dhCont
;
48
};
49
}
50
#endif
DbContainer.h
DbPrint.h
FileDescriptor.h
pool::APRMessaging::APRMessaging
APRMessaging(const std::string &name)
pool::CollectionColumn
An implementation for retrieving a description of a column of a collection.
Definition
CollectionColumn.h:19
pool::CollectionCursor
Reader object for Collections.
Definition
CollectionCursor.h:28
pool::Collection::~Collection
~Collection()
Defined out of line because CollectionColumn is incomplete here.
pool::Collection::m_attributeColumns
std::vector< CollectionColumn > m_attributeColumns
Definition
Collection.h:42
pool::Collection::cursor
std::unique_ptr< CollectionCursor > cursor()
Returns a cursor for the collection.
Definition
Collection.cxx:91
pool::Collection::Collection
Collection(FileDescriptor &fileDescr)
Construct from an already-connected file descriptor.
Definition
Collection.cxx:30
pool::Collection::Collection
Collection(const Collection &)=delete
pool::Collection::m_containerMap
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
pool::Collection::m_dhCont
DbContainer m_dhCont
The DataHeader container, if present, in the file.
Definition
Collection.h:47
pool::Collection::operator=
Collection & operator=(const Collection &)=delete
pool::DbContainer
Description: Definition of the object describing a database container Handle managing a DbContainerOb...
Definition
DbContainer.h:48
pool::FileDescriptor
Description:
Definition
FileDescriptor.h:40
pool
Framework include files.
Definition
PersistencySvc_ExtraFunctionality/TestDriver.h:21
Generated on
for ATLAS Offline Software by
1.17.0