ATLAS Offline Software
Loading...
Searching...
No Matches
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.

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) {}
Template of an auxiliary class to declare the new handles in the parent AthAlgTool,...

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: