![]() |
ATLAS Offline Software
|
#include <AuxStoreTest.h>
Public Member Functions | |
| virtual | ~AuxStore () |
| virtual void | setStore (IAuxStore *store) override |
| virtual void * | getData (SG::auxid_t auxid, size_t size, size_t capacity) override |
| virtual const void * | getData (SG::auxid_t auxid) const override |
| virtual IAuxStore * | getStore () override |
| Return the pointer to the store object currently in use. | |
| virtual const IAuxStore * | getStore () const override |
| virtual AuxStoreType | getStoreType () const override |
| Return the type of the store object. | |
| virtual size_t | size () const override |
| virtual void | toTransient (const EventContext &) override |
| Perform post-read processing on this store. | |
Public Attributes | |
| int | m_data = 0 |
Private Types | |
| enum | AuxStoreType { AST_ObjectStore = 0 , AST_ContainerStore = 1 } |
| Type of the auxiliary store. More... | |
Private Member Functions | |
| virtual void | setStore (IAuxStore *store)=0 |
| Give an auxiliary store object to the holder object. | |
Private Attributes | |
| IAuxStore * | m_extra_store = 0 |
Definition at line 16 of file AuxStoreTest.h.
|
inherited |
Type of the auxiliary store.
In the xAOD EDM we use auxiliary store objects in some cases to describe a single object, and in most cases to describe a container of objects. This enumeration declares which type the object implementing this interface is.
| Enumerator | |
|---|---|
| AST_ObjectStore | The store describes a single object. |
| AST_ContainerStore | The store describes a container. |
Definition at line 68 of file IAuxStoreHolder.h.
|
inlinevirtual |
Definition at line 22 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Definition at line 54 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Definition at line 47 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Implements SG::IAuxStoreHolder.
Definition at line 35 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Return the pointer to the store object currently in use.
There's not much use case for this function yet, but it makes the interface complete at least.
Implements SG::IAuxStoreHolder.
Definition at line 34 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Return the type of the store object.
Implements SG::IAuxStoreHolder.
Definition at line 37 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Definition at line 25 of file AuxStoreTest.h.
|
pure virtualinherited |
Give an auxiliary store object to the holder object.
The purpose of this function is to give an alternate store object to this object instead of the one it uses normally.
| store | Pointer to an object implementing direct ROOT I/O |
Implemented in xAOD::AuxContainerBase, xAOD::AuxInfoBase, and xAOD::ShallowAuxContainer.
|
inlineoverridevirtual |
Definition at line 39 of file AuxStoreTest.h.
|
inlineoverridevirtual |
Perform post-read processing on this store.
| ctx | The current event context. |
Some object types require some processing after being read before they are usable. This can be indicated by specializing SG::ToTransient for the vector type containing the variable. This method will call such a ToTransient method for all contained variables for which this is required.
This is also declared in IAuxStore. We declare it here as well to prevent the need for from cross-hierarchy dynamic casting.
Implements SG::IAuxStoreHolder.
Definition at line 42 of file AuxStoreTest.h.
| int APRTest::AuxStore::m_data = 0 |
Definition at line 20 of file AuxStoreTest.h.
|
private |
Definition at line 18 of file AuxStoreTest.h.