CMS 3D CMS Logo

Public Member Functions | Private Attributes

popcon::PopConSourceHandler< T >::Ref Class Reference

#include <PopConSourceHandler.h>

List of all members.

Public Member Functions

T const & operator* () const
T const * operator-> () const
Refoperator= (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< Tm_d
cond::DbSession m_dbsession

Detailed Description

template<class T>
class popcon::PopConSourceHandler< T >::Ref

Definition at line 53 of file PopConSourceHandler.h.


Constructor & Destructor Documentation

template<class T>
popcon::PopConSourceHandler< T >::Ref::Ref ( ) [inline]

Definition at line 55 of file PopConSourceHandler.h.

template<class T>
popcon::PopConSourceHandler< T >::Ref::Ref ( cond::DbSession dbsession,
std::string  token 
) [inline]
template<class T>
popcon::PopConSourceHandler< T >::Ref::~Ref ( ) [inline]

Definition at line 60 of file PopConSourceHandler.h.

             {
      }
template<class T>
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) {
      }

Member Function Documentation

template<class T>
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();
      }
template<class T>
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();
      }
template<class T>
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;
      }
template<class T>
T const* popcon::PopConSourceHandler< T >::Ref::ptr ( ) const [inline]

Member Data Documentation

template<class T>
boost::shared_ptr<T> popcon::PopConSourceHandler< T >::Ref::m_d [private]