#include <PopConSourceHandler.h>
Public Member Functions | |
T const & | operator* () const |
T const * | operator-> () const |
Ref & | operator= (const Ref &ref) |
T const * | ptr () const |
Ref (cond::DbSession &dbsession, std::string token) | |
Ref () | |
Ref (const Ref &ref) | |
~Ref () | |
Private Attributes | |
boost::shared_ptr< T > | m_d |
cond::DbSession | m_dbsession |
Definition at line 53 of file PopConSourceHandler.h.
popcon::PopConSourceHandler< T >::Ref::Ref | ( | ) | [inline] |
Definition at line 55 of file PopConSourceHandler.h.
: m_dbsession(){}
popcon::PopConSourceHandler< T >::Ref::Ref | ( | cond::DbSession & | dbsession, |
std::string | token | ||
) | [inline] |
Definition at line 56 of file PopConSourceHandler.h.
References cond::DbSession::getTypedObject(), popcon::PopConSourceHandler< T >::Ref::m_d, and popcon::PopConSourceHandler< T >::Ref::m_dbsession.
: m_dbsession(dbsession){ m_d = m_dbsession.getTypedObject<T>(token); }
popcon::PopConSourceHandler< T >::Ref::~Ref | ( | ) | [inline] |
Definition at line 60 of file PopConSourceHandler.h.
{ }
popcon::PopConSourceHandler< T >::Ref::Ref | ( | const Ref & | ref | ) | [inline] |
Definition at line 63 of file PopConSourceHandler.h.
: m_dbsession(ref.m_dbsession), m_d(ref.m_d) { }
T const& popcon::PopConSourceHandler< T >::Ref::operator* | ( | ) | const [inline] |
Definition at line 81 of file PopConSourceHandler.h.
References popcon::PopConSourceHandler< T >::Ref::ptr().
{ return *ptr(); }
T const* popcon::PopConSourceHandler< T >::Ref::operator-> | ( | ) | const [inline] |
Definition at line 77 of file PopConSourceHandler.h.
References popcon::PopConSourceHandler< T >::Ref::ptr().
{ return ptr(); }
Ref& popcon::PopConSourceHandler< T >::Ref::operator= | ( | const Ref & | ref | ) | [inline] |
Definition at line 67 of file PopConSourceHandler.h.
References popcon::PopConSourceHandler< T >::Ref::m_d, and popcon::PopConSourceHandler< T >::Ref::m_dbsession.
{ m_dbsession = ref.m_dbsession; m_d = ref.m_d; return *this; }
T const* popcon::PopConSourceHandler< T >::Ref::ptr | ( | ) | const [inline] |
Definition at line 73 of file PopConSourceHandler.h.
References popcon::PopConSourceHandler< T >::Ref::m_d.
Referenced by popcon::PopConSourceHandler< T >::Ref::operator*(), and popcon::PopConSourceHandler< T >::Ref::operator->().
{ return m_d.get(); }
boost::shared_ptr<T> popcon::PopConSourceHandler< T >::Ref::m_d [private] |
Definition at line 89 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< T >::Ref::operator=(), popcon::PopConSourceHandler< T >::Ref::ptr(), and popcon::PopConSourceHandler< T >::Ref::Ref().
cond::DbSession popcon::PopConSourceHandler< T >::Ref::m_dbsession [private] |
Definition at line 88 of file PopConSourceHandler.h.
Referenced by popcon::PopConSourceHandler< T >::Ref::operator=(), and popcon::PopConSourceHandler< T >::Ref::Ref().