1 #ifndef CondCore_IOVService_KeyList_h
2 #define CondCore_IOVService_KeyList_h
24 class IOVKeysDescription;
36 void load(std::vector<unsigned long long>
const &
keys);
39 T const *
get(
int n)
const {
40 return dynamic_cast<T const *
>(
elem(
n));
44 T const *
get(
char const * iname)
const {
45 return dynamic_cast<T const *
>(
elem(iname));
49 T const *
get(std::string
const & iname)
const {
50 return dynamic_cast<T const *
>(
elem(iname));
68 std::vector<boost::shared_ptr<Base> >
m_data;
void load(std::vector< unsigned long long > const &keys)
std::vector< boost::shared_ptr< Base > > m_data
KeyList(IOVKeysDescription const *idescr=0)
void init(cond::IOVProxy const &seq)
cond::IOVProxy m_sequence
BaseKeyed const * elem(int n) const
IOVKeysDescription const * m_description