13 long long entry,
bool standalone, std::recursive_mutex* iomtx)
18 for(
auto id : reader.auxIDs() ) {
42 if( this_nc->readData(auxid) ) {
53 throw(
"Non-const access to RootAuxDynStore is not supported");
63 if( this_nc->readData(auxid) ) {
129 if(
getData(
id ) !=
nullptr ) {
Exceptions that can be thrown from AthContainers.
Abstract interface for manipulating vectors of arbitrary types.
#define ATLAS_THREAD_SAFE
AthContainers_detail::lock_guard< mutex_t > guard_t
RootAuxDynStore(RootAuxDynReader &reader, long long entry, bool standalone, std::recursive_mutex *iomtx=nullptr)
virtual const void * getIOData(SG::auxid_t auxid) const override
implementation of the IAuxStoreIO interface
virtual const void * getData(SG::auxid_t auxid) const override
implementation of the IAuxStore interface
virtual void * getDecoration(SG::auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
virtual size_t size() const override
Return the number of elements in the store.
std::recursive_mutex * m_iomutex
Optional mutex used to serialize I/O with RootStorageSvc (not owned)
virtual bool isDecoration(SG::auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
virtual const SG::IAuxTypeVector * getVector(SG::auxid_t auxid) const override
Return vector interface for one aux data item.
bool standalone() const
Return the standalone flag.
const void * getIODataInternal(auxid_t auxid, bool quiet) const
Return a pointer to the data to be stored for one aux data item.
virtual const SG::auxid_set_t & getAuxIDs() const override
Return a set of identifiers for existing data items in this store.
virtual bool isDecoration(auxid_t auxid) const override
Test if a particular variable is tagged as a decoration.
virtual const IAuxTypeVector * getVector(SG::auxid_t auxid) const override
Return vector interface for one aux data item.
virtual size_t size() const override
Return the number of elements in the store.
virtual void * getDecoration(auxid_t auxid, size_t size, size_t capacity) override
Return the data vector for one aux data decoration item.
virtual void lock() override
Lock the container.
AuxStoreInternal(bool standalone=false)
Constructor.
virtual const void * getIOData(SG::auxid_t auxid) const override
Return a pointer to the data to be stored for one aux data item.
Exception — Attempted to modify auxiliary data in a locked store.
Abstract interface for manipulating vectors of arbitrary types.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
size_t auxid_t
Identifier for a particular aux data item.