ATLAS Offline Software
AsgComponent.icc
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /// \author Nils Krumnack
6 
7 
8 #ifndef ASGTOOLS_ASGCOMPONENT_ICC
9 #define ASGTOOLS_ASGCOMPONENT_ICC
10 
11 #include <AsgTools/PropertyMgr.h>
12 #include <AsgMessaging/StatusCode.h>
13 #include <AsgTools/TProperty.h>
14 #include <utility>
15 
16 namespace asg
17 {
18  template<typename T> Property *AsgComponent ::
19  declareProperty (const std::string& name, T& loc,
20  const std::string& /*doc*/)
21  {
22  return m_properties->declareProperty (name, loc);
23  }
24 
25 
26 
27  template<typename T> ::StatusCode AsgComponent ::
28  setProperty (const std::string& name, const T& value)
29  {
30  return m_properties->setProperty (name, value);
31  }
32 }
33 
34 #endif