|
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef ATHLINKS_SETINDEXINGPOLICY_H
17 #define ATHLINKS_SETINDEXINGPOLICY_H
26 #include "GaudiKernel/MsgStream.h"
27 #include <boost/concept_check.hpp>
120 template <
typename KEY>
129 #endif // not ATHLINKS_SETINDEXINGPOLICY_H
JetConstituentVector::iterator iterator
SG::SetIndexingPolicy< std::set< KEY > > type
char data[hepevt_bytes_allocation_ATLAS]
Indexing policy for a set-like container.
singleton-like access to IMessageSvc via open function and helper
BOOST_CONCEPT_ASSERT((boost::SimpleAssociativeContainerConcept< SET >))
static index_type storedToExternal(stored_index_type index)
Convert from stored to external index types.
static void reverseLookup(const SET &data, ElementConstReference element, index_type &same)
Find the index of the (first) instance of ELEMENT in DATA.
SET::const_reference ElementConstReference
SET::key_type index_type
The type of an index, as provided to or returned from a link.
static bool isValid(const stored_index_type &index)
Test to see if an index is valid.
SET::const_pointer ElementConstPointer
static ElementType lookup(const stored_index_type &index, const SET &data)
Retrieve from a container the element corresponding to an index.
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
Store an ElementLink index for non-vector containers.
Exceptions that can be thrown from AthLinks.
Store an ElementLink index for non-vector containers.
SG::IndexHolder< index_type > stored_index_type
The type of an index, as stored internally within a link.
static void reset(stored_index_type &index)
Make an index invalid.
SET::value_type ElementType
The type we get when we dereference a link, and derived types.