ATLAS Offline Software
Loading...
Searching...
No Matches
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
11class EventContext;
12
13namespace SG {
14
15 // Forward declaration(s):
16 class IAuxStore;
17
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
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
Interface for objects taking part in direct ROOT I/O.
virtual IAuxStore * getStore()=0
Return the pointer to the store object currently in use.
virtual ~IAuxStoreHolder()
Virtual destructor to make vtable happy...
AuxStoreType
Type of the auxiliary store.
@ AST_ContainerStore
The store describes a container.
@ AST_ObjectStore
The store describes a single object.
virtual AuxStoreType getStoreType() const =0
Return the type of the store object.
virtual const IAuxStore * getStore() const =0
virtual void toTransient(const EventContext &ctx)=0
Perform post-read processing on this store.
virtual void setStore(IAuxStore *store)=0
Give an auxiliary store object to the holder object.
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:51
Forward declaration.