BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
HltStoreSvc::Holder< T > Class Template Reference

#include <HltStoreSvc.h>

+ Inheritance diagram for HltStoreSvc::Holder< T >:

Public Member Functions

 Holder (const T &value)
 
 ~Holder ()
 
const T & value () const
 
- Public Member Functions inherited from HltStoreSvc::BaseHolder
virtual ~BaseHolder ()
 

Detailed Description

template<class T>
class HltStoreSvc::Holder< T >

Definition at line 127 of file HltStoreSvc.h.

Constructor & Destructor Documentation

◆ Holder()

template<class T >
HltStoreSvc::Holder< T >::Holder ( const T &  value)
inline

Definition at line 129 of file HltStoreSvc.h.

129: m_value(value) {};
const T & value() const
Definition: HltStoreSvc.h:132

◆ ~Holder()

template<class T >
HltStoreSvc::Holder< T >::~Holder ( )
inline

Definition at line 130 of file HltStoreSvc.h.

130 {
131 erase(m_value); }

Member Function Documentation

◆ value()

template<class T >
const T & HltStoreSvc::Holder< T >::value ( ) const
inline

Definition at line 132 of file HltStoreSvc.h.

132{ return m_value; }

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