18 ATH_MSG_DEBUG(
"requested holder with invalid sub_type_index");
25 auto sti_holder_map = allsti_it->second;
26 auto holder_it = sti_holder_map.find(sti);
27 if(holder_it == sti_holder_map.end()){
30 return holder_it->second.get();
35 auto clid = holder->typeClid();
36 auto subtypeindex = holder->subTypeIndex();
37 const auto &
label = holder->label();
40 ATH_MSG_WARNING(
"we already have a holder like this! clid:" << clid <<
" subtypeIndex: " << subtypeindex <<
" label: " <<
label);
#define ATH_MSG_WARNING(x)
BaseHolder * getBaseHolder(class_id_type clid, sub_index_type sti) const
std::map< class_id_type, SubIndexToLabelMap > m_lookupLabels
HolderType * getHolder(class_id_type clid, const std::variant< sub_index_type, std::string > &stiOrLabel) const
std::map< class_id_type, LabelToSubIndexMap > m_lookupSubIndex
bool registerHolder(const std::shared_ptr< BaseHolder > &holder)
std::map< class_id_type, IndexToHolderMap > m_holderByClidAndIndex
AsgMessaging(const std::string &name)
Constructor with a name.
std::string label(const std::string &format, int i)
static const index_type invalid_sub_index