Apache log4cxx  Version 0.10.0
ObjectPtrT< T > Class Template Reference

smart pointer to a Object descendant More...

Inherits ObjectPtrBase.

Public Member Functions

 ~ObjectPtrT ()
 
ObjectPtrToperator= (const ObjectPtrT &p1)
 
ObjectPtrToperator= (const int &null)
 
ObjectPtrToperator= (T *p1)
 
ObjectPtrToperator= (ObjectPtrBase &p1)
 
ObjectPtrToperator= (const ObjectPtrBase &p1)
 
bool operator== (const ObjectPtrT &p1) const
 
bool operator!= (const ObjectPtrT &p1) const
 
bool operator< (const ObjectPtrT &p1) const
 
bool operator== (const T *p1) const
 
bool operator!= (const T *p1) const
 
bool operator< (const T *p1) const
 
T * operator-> () const
 
T & operator* () const
 
 operator T * () const
 
- Public Member Functions inherited from ObjectPtrBase
 ObjectPtrBase ()
 
virtual ~ObjectPtrBase ()
 

Public Attributes

 __pad0__: p( 0 ) { ObjectPtrBase::checkNull(null)
 
 __pad1__: p( 0 ) { } : p( p1 ) { if (this->p != 0) { this->p->addRef()
 
 __pad2__: p( p1.p ) { if (this->p != 0) { this->p->addRef()
 
 __pad3__: p( reinterpret_cast<T*>(p1.cast(T::getStaticClass())) ) { if (this->p != 0) { this->p->addRef()
 
 __pad4__: p( reinterpret_cast<T*>(p1.cast(T::getStaticClass())) ) { if (this->p != 0) { this->p->addRef()
 

Additional Inherited Members

- Static Public Member Functions inherited from ObjectPtrBase
static void checkNull (const int &null)
 
static void * exchange (void **destination, void *newValue)
 

Detailed Description

template<typename T>
class log4cxx::helpers::ObjectPtrT< T >

smart pointer to a Object descendant

Constructor & Destructor Documentation

~ObjectPtrT ( )
inline

Member Function Documentation

operator T * ( ) const
inline
bool operator!= ( const ObjectPtrT< T > &  p1) const
inline
bool operator!= ( const T *  p1) const
inline
T& operator* ( ) const
inline
T* operator-> ( ) const
inline
bool operator< ( const ObjectPtrT< T > &  p1) const
inline
bool operator< ( const T *  p1) const
inline
ObjectPtrT& operator= ( const ObjectPtrT< T > &  p1)
inline
ObjectPtrT& operator= ( const int &  null)
inline
ObjectPtrT& operator= ( T *  p1)
inline
ObjectPtrT& operator= ( ObjectPtrBase p1)
inline
ObjectPtrT& operator= ( const ObjectPtrBase p1)
inline
bool operator== ( const ObjectPtrT< T > &  p1) const
inline
bool operator== ( const T *  p1) const
inline

Member Data Documentation

__pad0__
__pad1__
__pad2__
__pad3__
__pad4__

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