ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
APR
CollectionSvc
CollectionSvc
CollectionService.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 COLLECTIONSVC_COLLECTIONSERVICE_H
6
#define COLLECTIONSVC_COLLECTIONSERVICE_H
7
8
#include "
ICollection.h
"
9
10
#include "
StorageSvc/DbType.h
"
11
12
#include "
CxxUtils/checker_macros.h
"
13
14
15
namespace
pool
{
16
17
class
CollectionDescription
;
18
class
ISession
;
19
28
class
CollectionService
29
{
30
31
public
:
37
CollectionService
() =
default
;
38
40
~CollectionService
() =
default
;
41
48
static
ICollection
* create
ATLAS_NOT_THREAD_SAFE
(
const
CollectionDescription
&
description
);
49
50
63
static
ICollection
* open
ATLAS_NOT_THREAD_SAFE
(
const
std::string & name,
64
const
DbType
&
type
,
65
const
std::string & connection =
""
,
66
ISession
* session = 0 );
67
71
static
void
setMessageSvcQuiet
(
bool
quiet
=
true
);
72
73
static
ICollection
* plugin
ATLAS_NOT_THREAD_SAFE
(
const
CollectionDescription
&
description
,
74
ICollection::OpenMode
openMode,
75
ISession
* session = 0 );
76
77
};
78
}
79
80
#endif
DbType.h
ICollection.h
quiet
bool quiet
Definition
TrigGlobEffCorrValidation.cxx:190
checker_macros.h
Define macros for attributes used to control the static checker.
pool::CollectionDescription
An implementation used to define the properties of a collection to be constructed and to retrieve the...
Definition
CollectionDescription.h:26
pool::CollectionService::ATLAS_NOT_THREAD_SAFE
static ICollection *open ATLAS_NOT_THREAD_SAFE(const std::string &name, const DbType &type, const std::string &connection="", ISession *session=0)
Retrieves a handle to an existing collection or collection fragment for read or update transactions,...
pool::CollectionService::~CollectionService
~CollectionService()=default
Default destructor.
pool::CollectionService::setMessageSvcQuiet
static void setMessageSvcQuiet(bool quiet=true)
suppress (or enable) warning about a missing MessageSvc (logging)
pool::CollectionService::CollectionService
CollectionService()=default
Constructor:
pool::CollectionService::ATLAS_NOT_THREAD_SAFE
static ICollection *create ATLAS_NOT_THREAD_SAFE(const CollectionDescription &description)
Creates or overwrites a collection or collection fragment, given a description of its properties.
pool::CollectionService::ATLAS_NOT_THREAD_SAFE
static ICollection *plugin ATLAS_NOT_THREAD_SAFE(const CollectionDescription &description, ICollection::OpenMode openMode, ISession *session=0)
pool::DbType
Definition
DbType.h:30
pool::ICollection
An interface to a storage technology specific collection of event references and attributes.
Definition
ICollection.h:24
pool::ICollection::OpenMode
OpenMode
Enumeration of the possible open modes of the collection.
Definition
ICollection.h:27
pool::ISession
ISession is the interface class for user (macroscopic) sessions Every transaction and connection to a...
Definition
ISession.h:37
description
std::string description
glabal timer - how long have I taken so far?
Definition
hcg.cxx:93
pool
Framework include files.
Definition
libname.h:15
type
Generated on
for ATLAS Offline Software by
1.17.0