|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #ifndef ATHLINKS_TOOLS_IDENTCONTINDEXINGPOLICY_H
15 #define ATHLINKS_TOOLS_IDENTCONTINDEXINGPOLICY_H
21 #include "GaudiKernel/MsgStream.h"
22 #include <boost/concept_check.hpp>
48 typedef typename coll_type::value_type
obj_type;
118 #endif // ATHLINKS_TOOLS_IDENTCONTINDEXINGPOLICY_H
static bool isValid(stored_index_type index)
Test to see if an index is valid.
char data[hepevt_bytes_allocation_ATLAS]
CONT::IDENTIFIABLE coll_type
static void reset(stored_index_type &index)
Make an index invalid.
singleton-like access to IMessageSvc via open function and helper
static ElementType lookup(index_type index, const CONT &data)
Retrieve from a container the element corresponding to an index.
unsigned int index_type
The type of an index, as provided to or returned from a link.
type_tools::Copy< obj_type >::const_pointer ElementConstPointer
type_tools::Copy< obj_type >::const_reference ElementConstReference
index_type stored_index_type
The type of an index, as stored internally within a link.
static index_type storedToExternal(stored_index_type index)
Convert from stored to external index types.
Indexing policy for an IdentifiableContainer.
Exceptions that can be thrown from AthLinks.
type_tools::Copy< obj_type >::type ElementType
The type we get when we dereference a link, and derived types.
coll_type::value_type obj_type
static void reverseLookup(const CONT &data, ElementConstReference element, index_type &index)
Find the index of the (first) instance of ELEMENT in DATA.