37 std::pair< KeyToToken::iterator, bool >
result =
40 if( !result.second && overwriteKey )
50 return result.second ;
67 std::pair< KeyToToken::iterator, bool >
result =
68 it->second.insert( std::make_pair( key, payloadToken ) ) ;
70 if( !result.second && overwriteKey )
73 it->second.erase( result.first ) ;
76 result = it->second.insert( std::make_pair( key, payloadToken ) ) ;
79 return result.second ;
107 return token( recordType, key ) ;
114 RecordToKeyToToken::const_iterator it =
m_recordKeyToken.find( recordType ) ;
122 KeyToToken::const_iterator it2 = it->second.find( key ) ;
124 if( it2 == it->second.end() )
177 iRecordType->first.find_first_of(
"@") ) ;
178 if( recordInMap == recordName )
181 KeyToToken::const_iterator iKey = iRecordType->second.begin();
182 KeyToToken::const_iterator eKey = iRecordType->second.end() ;
183 for( ; iKey != eKey ; ++iKey )
185 if( iKey->second == payloadToken )
202 for( ; iKey != eKey ; ++iKey )
204 if( iKey->second == triggerKeyPayloadToken )
virtual ~L1TriggerKeyListExt()
RecordToKeyToToken m_recordKeyToken
std::map< std::string, std::string > KeyToToken
std::string tscKey(const std::string &triggerKeyPayloadToken) const
std::string objectKey(const std::string &recordName, const std::string &payloadToken) const
KeyToToken m_tscKeyToToken
bool addKey(const std::string &tscKey, const std::string &payloadToken, bool overwriteKey=false)
std::string token(const std::string &tscKey) const