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 79 of file SGxAODProxyLoader.h.

Constructor & Destructor Documentation

◆ ParentHelper()

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

Definition at line 81 of file SGxAODProxyLoader.h.

81: 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 82 of file SGxAODProxyLoader.h.

82 {
83 m_parent->declare(handle);
84 handle.setOwner(m_parent);
85 return handle.initialize();
86 }

Member Data Documentation

◆ m_parent

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

Definition at line 88 of file SGxAODProxyLoader.h.


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