ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
ActsTrk::DataLinkHolder< T > Struct Template Reference

#include <TrackContainer.h>

Collaboration diagram for ActsTrk::DataLinkHolder< T >:

Public Member Functions

 DataLinkHolder (const DataLink< T > &link)
 
const T & operator* () const
 
const T * operator-> () const
 

Public Attributes

DataLink< T > m_link
 

Detailed Description

template<typename T>
struct ActsTrk::DataLinkHolder< T >

Definition at line 18 of file TrackContainer.h.

Constructor & Destructor Documentation

◆ DataLinkHolder()

template<typename T >
ActsTrk::DataLinkHolder< T >::DataLinkHolder ( const DataLink< T > &  link)
inline

Definition at line 20 of file TrackContainer.h.

20 : m_link{link} {}

Member Function Documentation

◆ operator*()

template<typename T >
const T& ActsTrk::DataLinkHolder< T >::operator* ( ) const
inline

Definition at line 22 of file TrackContainer.h.

22 { return *(m_link.cptr()); }

◆ operator->()

template<typename T >
const T* ActsTrk::DataLinkHolder< T >::operator-> ( ) const
inline

Definition at line 23 of file TrackContainer.h.

23 { return m_link.cptr(); }

Member Data Documentation

◆ m_link

template<typename T >
DataLink<T> ActsTrk::DataLinkHolder< T >::m_link

Definition at line 19 of file TrackContainer.h.


The documentation for this struct was generated from the following file:
ActsTrk::DataLinkHolder::m_link
DataLink< T > m_link
Definition: TrackContainer.h:19