13#ifndef ATHCONTAINERSINTERFACES_ICONSTAUXSTORE_H
14#define ATHCONTAINERSINTERFACES_ICONSTAUXSTORE_H
67 virtual ~IConstAuxStore() =
default;
123 virtual const SG::auxid_set_t&
getAuxIDs()
const = 0;
129 virtual const SG::auxid_set_t&
getDecorIDs()
const = 0;
145 virtual void lock() = 0;
166 virtual size_t size()
const = 0;
198#ifndef XAOD_STANDALONE
200CLASS_DEF( SG::IConstAuxStore , 187169987 , 1 )
Basic definitions for auxiliary types.
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual void lock()=0
Interface to allow an object to lock itself when made const in SG.
size_t size() const
Number of registered mappings.
Abstract interface for manipulating vectors of arbitrary types.
virtual void lockDecoration(SG::auxid_t auxid) override
Lock a decoration.
virtual void * getDecoration(auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
virtual bool isDecoration(auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
const SG::auxid_set_t & getDecorIDs() const
Return a set of identifiers for decorations for this object.
virtual IAuxTypeVector * linkedVector(SG::auxid_t auxid) override
Return interface for a linked variable.
virtual const IAuxTypeVector * getVector(SG::auxid_t auxid) const override
Return vector interface for one aux data item.
virtual const void * getData(SG::auxid_t auxid) const override
Return the data vector for one aux data item.
bool clearDecorations() const
Clear all decorations.
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items for this object.
size_t auxid_t
Identifier for a particular aux data item.