ATLAS Offline Software
HandleKeyArray< T > Class Reference

class to hold an array of HandleKeys More...

#include <HandleKeyArray.h>

Collaboration diagram for HandleKeyArray< T >:

Detailed Description

class to hold an array of HandleKeys

since it inherits from std::vector, all vector operations are permitted.

initialization can be done in three ways. 1: with an std::vector<HandleKey> as a parameter SG::Cond<foo>::ReadHandleKeyArray m_foo ( std::vector<ReadCondHandleKey> ); SG::Cond<foo>::WriteHandleKeyArray m_foo ( std::vector<WriteCondHandleKey> ); 2: with an initializer list of HandleKeys SG::Cond<foo>::ReadHandleKeyArray m_foo { ReadCondHandleKey<foo> k1, ReadCondHandleKey<foo> k2 }; SG::Cond<foo>::WriteHandleKeyArray m_foo { WriteCondHandleKey<foo> k1, WriteCondHandleKey<foo> k2 }; 3: with an initializer list of std::strings, that will be used to internally create HandleKeys with those initializers SG::Cond<foo>::ReadHandleKeyArray m_foo { "key1", "key2", "key3" }; SG::Cond<foo>::WriteHandleKeyArray m_foo { "key1", "key2", "key3" };


The documentation for this class was generated from the following file: