ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ExpressionParsing::SGxAODProxyLoader::ParentHelper< T > Class Template Reference

Template of an auxiliary class to declare the new handles in the parent AthAlgTool, AthAlgorithm etc. More...

#include <SGxAODProxyLoader.h>

Inheritance diagram for ExpressionParsing::SGxAODProxyLoader::ParentHelper< T >:
Collaboration diagram for ExpressionParsing::SGxAODProxyLoader::ParentHelper< T >:

Public Member Functions

 ParentHelper (T *parent)
 
virtual StatusCode declare (SG::VarHandleKey &handle) override
 This method needs to be implement to declare the given data handle. More...
 

Private Attributes

T * m_parent
 

Detailed Description

template<class T>
class ExpressionParsing::SGxAODProxyLoader::ParentHelper< T >

Template of an auxiliary class to declare the new handles in the parent AthAlgTool, AthAlgorithm etc.

Definition at line 75 of file SGxAODProxyLoader.h.

Constructor & Destructor Documentation

◆ ParentHelper()

template<class T >
ExpressionParsing::SGxAODProxyLoader::ParentHelper< T >::ParentHelper ( T *  parent)
inline

Definition at line 77 of file SGxAODProxyLoader.h.

77 : m_parent(parent) {}

Member Function Documentation

◆ declare()

template<class T >
virtual StatusCode ExpressionParsing::SGxAODProxyLoader::ParentHelper< T >::declare ( SG::VarHandleKey handle)
inlineoverridevirtual

This method needs to be implement to declare the given data handle.

Implements ExpressionParsing::SGxAODProxyLoader::IParentHelper.

Definition at line 78 of file SGxAODProxyLoader.h.

78  {
79  m_parent->declare(handle);
80  handle.setOwner(m_parent);
81  return handle.initialize();
82  }

Member Data Documentation

◆ m_parent

template<class T >
T* ExpressionParsing::SGxAODProxyLoader::ParentHelper< T >::m_parent
private

Definition at line 84 of file SGxAODProxyLoader.h.


The documentation for this class was generated from the following file:
ExpressionParsing::SGxAODProxyLoader::ParentHelper::m_parent
T * m_parent
Definition: SGxAODProxyLoader.h:84
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103