ATLAS Offline Software
Loading...
Searching...
No Matches
ToolHandleArray.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ASGTOOLS_TOOLHANDLEARRAY_H
6#define ASGTOOLS_TOOLHANDLEARRAY_H
7
8// Local include(s):
9#ifndef XAOD_STANDALONE
10# include "GaudiKernel/ToolHandle.h"
11#else // not XAOD_STANDALONE
12
13// System include(s):
14#include <vector>
15#include <initializer_list>
16
17// Local include(s):
18#include "AsgTools/ToolHandle.h"
19
31template< class T >
32class ToolHandleArray : public std::vector< ToolHandle< T > > {
33
34public:
36 ToolHandleArray();
38 ToolHandleArray( const std::initializer_list< ToolHandle< T > >& l );
40 ToolHandleArray( const std::initializer_list< std::string >& l );
42 template<typename Parent>
43 ToolHandleArray( Parent *parent, const std::string& name, const std::initializer_list< std::string >& l, const std::string& description = "" );
44
46 StatusCode retrieve() const;
47
48}; // class ToolHandleArray
49
50// Include the implementation of the code:
52
53#endif // not XAOD_STANDALONE
54#endif // ASGTOOLS_TOOLHANDLEARRAY_H
std::string description
glabal timer - how long have I taken so far?
Definition hcg.cxx:91
::StatusCode StatusCode
StatusCode definition for legacy code.
retrieve(aClass, aKey=None)
Definition PyKernel.py:110