14#ifndef ATHLINKS_FORWARDINDEXINGPOLICY_H
15#define ATHLINKS_FORWARDINDEXINGPOLICY_H
38template <
class CONT,
class VALUE_TYPE=
typename CONT::value_type>
An interface for getting the name of a class as a string.
Exceptions that can be thrown from AthLinks.
char data[hepevt_bytes_allocation_ATLAS]
Indexing policy for a vector-like container.
static ElementType lookup(index_type index, const CONT &data)
Retrieve from a container the element corresponding to an index.
uint32_t stored_index_type
typename STORABLE::value_type value_type
static void reverseLookup(const CONT &data, ElementConstReference element, index_type &index)
Find the index of the (first) instance of ELEMENT in DATA.
type_tools::Copy< value_type >::type ElementType
static const index_type INVALID
type_tools::Copy< value_type >::const_reference ElementConstReference
static index_type storedToExternal(stored_index_type index)
Convert from stored to external index types.
type_tools::Copy< value_type >::const_pointer ElementConstPointer
static void reset(stored_index_type &index)
Make an index invalid.
static bool isValid(stored_index_type index)
Test to see if an index is valid.
Define a specializable method for finding the index of an object within a container.