ATLAS Offline Software
Loading...
Searching...
No Matches
PyGate< T > Struct Template Reference

#include <StoreGateSvc.h>

Collaboration diagram for PyGate< T >:

Static Public Member Functions

static const T * retrieve (StoreGateSvc *psg)
static const T * retrieve (StoreGateSvc *psg, const std::string &key)

Detailed Description

template<class T>
struct PyGate< T >

Definition at line 1018 of file StoreGateSvc.h.

Member Function Documentation

◆ retrieve() [1/2]

template<class T>
const T * PyGate< T >::retrieve ( StoreGateSvc * psg)
inlinestatic

Definition at line 1020 of file StoreGateSvc.h.

1020 {
1021 const T* obj = 0;
1022 if ( StatusCode::SUCCESS == psg->retrieve( obj ) )
1023 return obj;
1024 return 0;
1025 }
static const T * retrieve(StoreGateSvc *psg)

◆ retrieve() [2/2]

template<class T>
const T * PyGate< T >::retrieve ( StoreGateSvc * psg,
const std::string & key )
inlinestatic

Definition at line 1028 of file StoreGateSvc.h.

1028 {
1029 const T* obj = 0;
1030 if ( StatusCode::SUCCESS == psg->retrieve( obj, key ) )
1031 return obj;
1032 return 0;
1033 }

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