blocxx
BLOCXX_NAMESPACE::SharedLibraryReference< T > Class Template Reference

#include <SharedLibraryReference.hpp>

Public Types

typedef T element_type
 
typedef T SharedLibraryReference::* safe_bool
 

Public Member Functions

 SharedLibraryReference (const SharedLibraryRef &lib, const T &obj)
 
 SharedLibraryReference (const SharedLibraryRef &lib, typename T::element_type *obj)
 
 SharedLibraryReference (const SharedLibraryReference< T > &arg)
 
template<class U>
 SharedLibraryReference (const SharedLibraryReference< U > &arg)
 
 SharedLibraryReference ()
 
SharedLibraryReference< T > & operator= (const SharedLibraryReference< T > &arg)
 
 ~SharedLibraryReference ()
 
SharedLibraryRef getLibRef () const
 
T::element_type * operator-> () const
 
get () const
 
 operator safe_bool () const
 
bool operator! () const
 
void setNull ()
 
template<class U>
SharedLibraryReference< U > cast_to () const
 
BLOCXX_DEPRECATED bool isNull () const
 

Private Attributes

SharedLibraryRef m_sharedLib
 
m_obj
 

Friends

template<class U>
class SharedLibraryReference
 

Detailed Description

template<class T>
class BLOCXX_NAMESPACE::SharedLibraryReference< T >

Definition at line 47 of file SharedLibraryReference.hpp.

Member Typedef Documentation

◆ element_type

template<class T>
typedef T BLOCXX_NAMESPACE::SharedLibraryReference< T >::element_type

Definition at line 50 of file SharedLibraryReference.hpp.

◆ safe_bool

template<class T>
typedef T SharedLibraryReference::* BLOCXX_NAMESPACE::SharedLibraryReference< T >::safe_bool

Definition at line 103 of file SharedLibraryReference.hpp.

Constructor & Destructor Documentation

◆ SharedLibraryReference() [1/5]

template<class T>
BLOCXX_NAMESPACE::SharedLibraryReference< T >::SharedLibraryReference ( const SharedLibraryRef & lib,
const T & obj )
inline

Definition at line 52 of file SharedLibraryReference.hpp.

References m_obj, and m_sharedLib.

◆ SharedLibraryReference() [2/5]

template<class T>
BLOCXX_NAMESPACE::SharedLibraryReference< T >::SharedLibraryReference ( const SharedLibraryRef & lib,
typename T::element_type * obj )
inline

Definition at line 55 of file SharedLibraryReference.hpp.

References m_obj, and m_sharedLib.

◆ SharedLibraryReference() [3/5]

template<class T>
BLOCXX_NAMESPACE::SharedLibraryReference< T >::SharedLibraryReference ( const SharedLibraryReference< T > & arg)
inline

Definition at line 58 of file SharedLibraryReference.hpp.

References m_obj, m_sharedLib, and SharedLibraryReference.

◆ SharedLibraryReference() [4/5]

template<class T>
template<class U>
BLOCXX_NAMESPACE::SharedLibraryReference< T >::SharedLibraryReference ( const SharedLibraryReference< U > & arg)
inline

Definition at line 65 of file SharedLibraryReference.hpp.

References m_obj, m_sharedLib, and SharedLibraryReference.

◆ SharedLibraryReference() [5/5]

template<class T>
BLOCXX_NAMESPACE::SharedLibraryReference< T >::SharedLibraryReference ( )
inline

Definition at line 69 of file SharedLibraryReference.hpp.

References m_obj, and m_sharedLib.

◆ ~SharedLibraryReference()

Definition at line 78 of file SharedLibraryReference.hpp.

References m_obj, and m_sharedLib.

Member Function Documentation

◆ cast_to()

template<class T>
template<class U>
SharedLibraryReference< U > BLOCXX_NAMESPACE::SharedLibraryReference< T >::cast_to ( ) const
inline

Definition at line 115 of file SharedLibraryReference.hpp.

References m_obj, m_sharedLib, and SharedLibraryReference.

◆ get()

template<class T>
T BLOCXX_NAMESPACE::SharedLibraryReference< T >::get ( ) const
inline

Definition at line 98 of file SharedLibraryReference.hpp.

References m_obj.

◆ getLibRef()

template<class T>
SharedLibraryRef BLOCXX_NAMESPACE::SharedLibraryReference< T >::getLibRef ( ) const
inline

Definition at line 90 of file SharedLibraryReference.hpp.

References m_sharedLib.

◆ isNull()

template<class T>
BLOCXX_DEPRECATED bool BLOCXX_NAMESPACE::SharedLibraryReference< T >::isNull ( ) const
inline

Definition at line 123 of file SharedLibraryReference.hpp.

References m_obj.

◆ operator safe_bool()

template<class T>
BLOCXX_NAMESPACE::SharedLibraryReference< T >::operator safe_bool ( ) const
inline

Definition at line 104 of file SharedLibraryReference.hpp.

References m_obj.

◆ operator!()

template<class T>
bool BLOCXX_NAMESPACE::SharedLibraryReference< T >::operator! ( ) const
inline

Definition at line 106 of file SharedLibraryReference.hpp.

References m_obj.

◆ operator->()

template<class T>
T::element_type * BLOCXX_NAMESPACE::SharedLibraryReference< T >::operator-> ( ) const
inline

Definition at line 94 of file SharedLibraryReference.hpp.

References m_obj.

◆ operator=()

template<class T>
SharedLibraryReference< T > & BLOCXX_NAMESPACE::SharedLibraryReference< T >::operator= ( const SharedLibraryReference< T > & arg)
inline

Definition at line 72 of file SharedLibraryReference.hpp.

References m_obj, m_sharedLib, and SharedLibraryReference.

◆ setNull()

template<class T>
void BLOCXX_NAMESPACE::SharedLibraryReference< T >::setNull ( )
inline

Definition at line 108 of file SharedLibraryReference.hpp.

References m_obj, and m_sharedLib.

Friends And Related Symbol Documentation

◆ SharedLibraryReference

template<class T>
template<class U>
friend class SharedLibraryReference
friend

Member Data Documentation

◆ m_obj

◆ m_sharedLib


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