33 ForceTrackIndices& xvec =
static_cast<ForceTrackIndices&
>(
vec);
44 static const TClass*
const dvClass =
46 static const TClass*
const aeClass =
50 return (cl.InheritsFrom(dvClass) || cl.InheritsFrom(aeClass));
56 static const TClass*
const storeClass =
58 static const TClass*
const storeHolderClass =
62 return (cl.InheritsFrom(storeClass) || cl.InheritsFrom(storeHolderClass));
69 static const TClass*
const dvClass =
71 static const TClass*
const aeClass = TClass::GetClass(
typeid(
SG::AuxElement));
74 if (cl.InheritsFrom(aeClass)) {
76 }
else if (cl.InheritsFrom(dvClass)) {
81 throw std::runtime_error(
"A logic error happened in the code");
Base class for elements of a container that can have aux data.
Manage index tracking and synchronization of auxiliary data.
std::vector< size_t > vec
An STL vector of pointers that by default owns its pointed-to elements.
Flag that a class may have auxiliary data associated with it.
Interface for const operations on an auxiliary store.
Base class for elements of a container that can have aux data.
Manage index tracking and synchronization of auxiliary data.
void initAuxVectorBase(SG::OwnershipPolicy ownPolicy, SG::IndexTrackingPolicy indexTrackingPolicy)
Initialize index tracking mode.
Interface for objects taking part in direct ROOT I/O.
Interface for const operations on an auxiliary store.
@ ALWAYS_TRACK_INDICES
Always track indices, regardless of the setting of the ownership policy.
@ OWN_ELEMENTS
this data object owns its elements
bool hasAuxStore(const TClass &cl)
Helper function deciding if a given type "has an auxiliary store".
bool isAuxStore(const TClass &cl)
Helper function deciding if a given type "is an auxiliary store".
bool isStandalone(const TClass &cl)
Helper function deciding if a given type "is a standalone object".
#define NO_SANITIZE_UNDEFINED