|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef ATHCONTAINERS_AUXSTORECONSTMEM_H
14 #define ATHCONTAINERS_AUXSTORECONSTMEM_H
128 virtual void lock()
override;
144 virtual size_t size()
const override;
167 #endif // not ATHCONTAINERS_AUXSTORECONSTMEM_H
virtual void * getDecoration(auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
virtual const SG::auxid_set_t & getDecorIDs() const override
Return a set of identifiers for decorations in this store.
virtual void lock() override
Lock the container.
virtual const SG::auxid_set_t & getAuxIDs() const override
Return a set of identifiers for existing data items in this store.
virtual size_t size() const override
Return the number of elements in the store.
virtual bool isDecoration(auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
IConstAuxStore implementation referencing external buffers.
size_t auxid_t
Identifier for a particular aux data item.
virtual bool clearDecorations() override
Clear all decorations.
void addBuffer(SG::auxid_t auxid, const void *buf)
Add a new, external buffer.
virtual const void * getData(SG::auxid_t auxid) const override
Return the data vector for one aux data item.
SG::auxid_set_t m_auxids
Set of auxid's for which we've added a buffer.
std::vector< const void * > m_buffers
Abstract interface for manipulating vectors of arbitrary types.
AuxStoreConstMem(size_t size)
Constructor.
A set of aux data identifiers.
virtual void lockDecoration(SG::auxid_t auxid) override
Lock a decoration.
Interface for const operations on an auxiliary store.
Interface for const operations on an auxiliary store.
virtual const IAuxTypeVector * getVector(SG::auxid_t) const override
Return vector interface for one aux data item.