ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthContainersInterfaces
AthContainersInterfaces
IAuxStoreHolder.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: IAuxStoreHolder.h 570883 2013-11-16 18:47:55Z krasznaa $
8
#ifndef ATHCONTAINERSINTERFACES_IAUXSTOREHOLDER_H
9
#define ATHCONTAINERSINTERFACES_IAUXSTOREHOLDER_H
10
11
class
EventContext;
12
13
namespace
SG
{
14
15
// Forward declaration(s):
16
class
IAuxStore
;
17
38
class
IAuxStoreHolder
{
39
40
public
:
42
virtual
~IAuxStoreHolder
() {}
43
51
virtual
void
setStore
(
IAuxStore
* store ) = 0;
52
58
virtual
IAuxStore
*
getStore
() = 0;
59
virtual
const
IAuxStore
*
getStore
()
const
= 0;
60
68
enum
AuxStoreType
{
69
AST_ObjectStore
= 0,
70
AST_ContainerStore
= 1
71
};
72
77
virtual
AuxStoreType
getStoreType
()
const
= 0;
78
79
93
virtual
void
toTransient
(
const
EventContext& ctx) = 0;
94
95
96
};
// class IAuxStoreHolder
97
98
}
// namespace SG
99
100
#endif
// ATHCONTAINERSINTERFACES_IAUXSTOREHOLDER_H
SG::IAuxStoreHolder
Interface for objects taking part in direct ROOT I/O.
Definition
IAuxStoreHolder.h:38
SG::IAuxStoreHolder::getStore
virtual IAuxStore * getStore()=0
Return the pointer to the store object currently in use.
SG::IAuxStoreHolder::~IAuxStoreHolder
virtual ~IAuxStoreHolder()
Virtual destructor to make vtable happy...
Definition
IAuxStoreHolder.h:42
SG::IAuxStoreHolder::AuxStoreType
AuxStoreType
Type of the auxiliary store.
Definition
IAuxStoreHolder.h:68
SG::IAuxStoreHolder::AST_ContainerStore
@ AST_ContainerStore
The store describes a container.
Definition
IAuxStoreHolder.h:70
SG::IAuxStoreHolder::AST_ObjectStore
@ AST_ObjectStore
The store describes a single object.
Definition
IAuxStoreHolder.h:69
SG::IAuxStoreHolder::getStoreType
virtual AuxStoreType getStoreType() const =0
Return the type of the store object.
SG::IAuxStoreHolder::getStore
virtual const IAuxStore * getStore() const =0
SG::IAuxStoreHolder::toTransient
virtual void toTransient(const EventContext &ctx)=0
Perform post-read processing on this store.
SG::IAuxStoreHolder::setStore
virtual void setStore(IAuxStore *store)=0
Give an auxiliary store object to the holder object.
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition
IAuxStore.h:51
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
Generated on
for ATLAS Offline Software by
1.17.0