1 #ifndef CondCore_CondDB_KeyList_h 2 #define CondCore_CondDB_KeyList_h 30 namespace persistency {
37 void load(
const std::vector<unsigned long long>&
keys );
40 std::shared_ptr<T>
get(
size_t n)
const {
46 m_objects[
n] = deserialize<T>(
i->second.first,
i->second.second.first,
i->second.second.second );
49 throwException(
"Payload for index "+std::to_string(n)+
" has not been found.",
62 mutable std::map<size_t,std::pair<std::string,std::pair<cond::Binary,cond::Binary> > >
m_data;
63 mutable std::vector<std::shared_ptr<void> >
m_objects;
std::vector< std::shared_ptr< void > > m_objects
std::map< size_t, std::pair< std::string, std::pair< cond::Binary, cond::Binary > > > m_data
void init(IOVProxy iovProxy)
void load(const std::vector< unsigned long long > &keys)
void throwException(const std::string &message, const std::string &methodName)