ATLAS Offline Software
IAuxStoreHolder.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 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 namespace SG {
12 
13  // Forward declaration(s):
14  class IAuxStore;
15 
37 
38  public:
40  virtual ~IAuxStoreHolder() {}
41 
49  virtual void setStore( IAuxStore* store ) = 0;
50 
56  virtual IAuxStore* getStore() = 0;
57  virtual const IAuxStore* getStore() const = 0;
58 
66  enum AuxStoreType {
69  };
70 
75  virtual AuxStoreType getStoreType() const = 0;
76 
77  }; // class IAuxStoreHolder
78 
79 } // namespace SG
80 
81 #endif // ATHCONTAINERSINTERFACES_IAUXSTOREHOLDER_H
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:69
SG::IAuxStoreHolder::getStoreType
virtual AuxStoreType getStoreType() const =0
Return the type of the store object.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::IAuxStoreHolder::getStore
virtual IAuxStore * getStore()=0
Return the pointer to the store object currently in use.
SG::IAuxStoreHolder::AuxStoreType
AuxStoreType
Type of the auxiliary store.
Definition: IAuxStoreHolder.h:66
SG::IAuxStoreHolder::getStore
virtual const IAuxStore * getStore() const =0
SG::IAuxStoreHolder::setStore
virtual void setStore(IAuxStore *store)=0
Give an auxiliary store object to the holder object.
SG::IAuxStoreHolder::~IAuxStoreHolder
virtual ~IAuxStoreHolder()
Virtual destructor to make vtable happy...
Definition: IAuxStoreHolder.h:40
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition: IAuxStore.h:48
SG::IAuxStoreHolder::AST_ObjectStore
@ AST_ObjectStore
The store describes a single object.
Definition: IAuxStoreHolder.h:67
SG::IAuxStoreHolder
Interface for objects taking part in direct ROOT I/O.
Definition: IAuxStoreHolder.h:36
SG::IAuxStoreHolder::AST_ContainerStore
@ AST_ContainerStore
The store describes a container.
Definition: IAuxStoreHolder.h:68