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-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
11namespace 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
70
75 virtual AuxStoreType getStoreType() const = 0;
76
77 }; // class IAuxStoreHolder
78
79} // namespace SG
80
81#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 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:48
Forward declaration.