ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
pool::DbSelect::Ptr< T > Struct Template Reference

#include <DbSelect.h>

Inheritance diagram for pool::DbSelect::Ptr< T >:
Collaboration diagram for pool::DbSelect::Ptr< T >:

Public Member Functions

 Ptr (T *p)
 
virtual ~Ptr ()
 
virtual const std::type_info & type () const
 

Public Attributes

T * m_ptr
 

Detailed Description

template<class T>
struct pool::DbSelect::Ptr< T >

Definition at line 51 of file DbSelect.h.

Constructor & Destructor Documentation

◆ Ptr()

template<class T >
pool::DbSelect::Ptr< T >::Ptr ( T *  p)
inline

Definition at line 53 of file DbSelect.h.

53 : m_ptr(p) { }

◆ ~Ptr()

template<class T >
virtual pool::DbSelect::Ptr< T >::~Ptr ( )
inlinevirtual

Definition at line 54 of file DbSelect.h.

54 { deletePtr(m_ptr); }

Member Function Documentation

◆ type()

template<class T >
virtual const std::type_info& pool::DbSelect::Ptr< T >::type ( ) const
inlinevirtual

Implements pool::DbSelect::Pointer.

Definition at line 55 of file DbSelect.h.

55 { return typeid(T); }

Member Data Documentation

◆ m_ptr

template<class T >
T* pool::DbSelect::Ptr< T >::m_ptr

Definition at line 52 of file DbSelect.h.


The documentation for this struct was generated from the following file:
pool::deletePtr
DbStatus deletePtr(T *&p)
Delete a pointer.
Definition: Database/APR/StorageSvc/StorageSvc/pool.h:102
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35
pool::DbSelect::Ptr::m_ptr
T * m_ptr
Definition: DbSelect.h:52