ATLAS Offline Software
|
class to hold an array of ReadHandleKeys More...
#include <ReadHandleKeyArray.h>
class to hold an array of ReadHandleKeys
since it inherits from std::vector, all vector operations are permitted.
initialization can be done in three ways. 1: with an std::vector<ReadHandleKey> as a parameter SG::ReadHandleKeyArray<foo> m_foo ( std::vector<ReadHandleKey> ); 2: with an initializer list of ReadHandleKeys SG::ReadHandleKeyArray<foo> m_foo { ReadHandleKey<foo> k1, ReadHandleKey<foo> k2 }; 3: with an initializer list of std::strings, that will be used to internally create ReadHandleKeys with those initializers SG::ReadHandleKeyArray<foo> m_foo { "key1", "key2", "key3" };