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