log4cplus  1.1.0
Public Types | Public Member Functions
log4cplus::helpers::SharedObjectPtr< T > Class Template Reference

#include <pointer.h>

Inheritance diagram for log4cplus::helpers::SharedObjectPtr< T >:
[legend]

List of all members.

Public Types

typedef T *(SharedObjectPtr::* unspec_bool_type )() const

Public Member Functions

 SharedObjectPtr (T *realPtr=0)
 SharedObjectPtr (const SharedObjectPtr &rhs)
 ~SharedObjectPtr ()
bool operator== (const SharedObjectPtr &rhs) const
bool operator!= (const SharedObjectPtr &rhs) const
bool operator== (const T *rhs) const
bool operator!= (const T *rhs) const
T * operator-> () const
T & operator* () const
SharedObjectPtroperator= (const SharedObjectPtr &rhs)
SharedObjectPtroperator= (T *rhs)
T * get () const
void swap (SharedObjectPtr &other) throw ()
 operator unspec_bool_type () const
bool operator! () const

Detailed Description

template<class T>
class log4cplus::helpers::SharedObjectPtr< T >

Definition at line 99 of file pointer.h.


Member Typedef Documentation

template<class T>
typedef T*(SharedObjectPtr:: * log4cplus::helpers::SharedObjectPtr< T >::unspec_bool_type)() const

Definition at line 164 of file pointer.h.


Constructor & Destructor Documentation

template<class T>
log4cplus::helpers::SharedObjectPtr< T >::SharedObjectPtr ( T *  realPtr = 0) [inline, explicit]

Definition at line 104 of file pointer.h.

template<class T>
log4cplus::helpers::SharedObjectPtr< T >::SharedObjectPtr ( const SharedObjectPtr< T > &  rhs) [inline]

Definition at line 110 of file pointer.h.

template<class T>
log4cplus::helpers::SharedObjectPtr< T >::~SharedObjectPtr ( ) [inline]

Definition at line 131 of file pointer.h.


Member Function Documentation

template<class T>
T* log4cplus::helpers::SharedObjectPtr< T >::get ( ) const [inline]
template<class T>
log4cplus::helpers::SharedObjectPtr< T >::operator unspec_bool_type ( ) const [inline]

Definition at line 165 of file pointer.h.

template<class T>
bool log4cplus::helpers::SharedObjectPtr< T >::operator! ( ) const [inline]

Definition at line 170 of file pointer.h.

template<class T>
bool log4cplus::helpers::SharedObjectPtr< T >::operator!= ( const SharedObjectPtr< T > &  rhs) const [inline]

Definition at line 139 of file pointer.h.

template<class T>
bool log4cplus::helpers::SharedObjectPtr< T >::operator!= ( const T *  rhs) const [inline]

Definition at line 141 of file pointer.h.

template<class T>
T& log4cplus::helpers::SharedObjectPtr< T >::operator* ( ) const [inline]

Definition at line 143 of file pointer.h.

template<class T>
T* log4cplus::helpers::SharedObjectPtr< T >::operator-> ( ) const [inline]

Definition at line 142 of file pointer.h.

template<class T>
SharedObjectPtr& log4cplus::helpers::SharedObjectPtr< T >::operator= ( const SharedObjectPtr< T > &  rhs) [inline]
template<class T>
SharedObjectPtr& log4cplus::helpers::SharedObjectPtr< T >::operator= ( T *  rhs) [inline]

Definition at line 150 of file pointer.h.

template<class T>
bool log4cplus::helpers::SharedObjectPtr< T >::operator== ( const SharedObjectPtr< T > &  rhs) const [inline]

Definition at line 138 of file pointer.h.

template<class T>
bool log4cplus::helpers::SharedObjectPtr< T >::operator== ( const T *  rhs) const [inline]

Definition at line 140 of file pointer.h.

template<class T>
void log4cplus::helpers::SharedObjectPtr< T >::swap ( SharedObjectPtr< T > &  other) throw () [inline]

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