Apache log4cxx Version 0.10.0
ObjectPtrT< T > Class Template Reference

smart pointer to a Object descendant More...

#include <objectptr.h>

Inherits ObjectPtrBase.

Public Member Functions

 ObjectPtrT (const int &null)
 
 ObjectPtrT ()
 
 ObjectPtrT (T *p1)
 
 ObjectPtrT (const ObjectPtrT &p1)
 
 ObjectPtrT (const ObjectPtrBase &p1)
 
 ObjectPtrT (ObjectPtrBase &p1)
 
 ~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 ()
 

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() [1/6]

template<typename T >
ObjectPtrT ( const int & null)
inline

◆ ObjectPtrT() [2/6]

template<typename T >
ObjectPtrT ( )
inline

◆ ObjectPtrT() [3/6]

template<typename T >
ObjectPtrT ( T * p1)
inline

◆ ObjectPtrT() [4/6]

template<typename T >
ObjectPtrT ( const ObjectPtrT< T > & p1)
inline

◆ ObjectPtrT() [5/6]

template<typename T >
ObjectPtrT ( const ObjectPtrBase & p1)
inline

◆ ObjectPtrT() [6/6]

template<typename T >
ObjectPtrT ( ObjectPtrBase & p1)
inline

◆ ~ObjectPtrT()

template<typename T >
~ObjectPtrT ( )
inline

Member Function Documentation

◆ operator T*()

template<typename T >
operator T* ( ) const
inline

◆ operator!=() [1/2]

template<typename T >
bool operator!= ( const ObjectPtrT< T > & p1) const
inline

◆ operator!=() [2/2]

template<typename T >
bool operator!= ( const T * p1) const
inline

◆ operator*()

template<typename T >
T & operator* ( ) const
inline

◆ operator->()

template<typename T >
T * operator-> ( ) const
inline

◆ operator<() [1/2]

template<typename T >
bool operator< ( const ObjectPtrT< T > & p1) const
inline

◆ operator<() [2/2]

template<typename T >
bool operator< ( const T * p1) const
inline

◆ operator=() [1/5]

template<typename T >
ObjectPtrT & operator= ( const int & null)
inline

◆ operator=() [2/5]

template<typename T >
ObjectPtrT & operator= ( const ObjectPtrBase & p1)
inline

◆ operator=() [3/5]

template<typename T >
ObjectPtrT & operator= ( const ObjectPtrT< T > & p1)
inline

◆ operator=() [4/5]

template<typename T >
ObjectPtrT & operator= ( ObjectPtrBase & p1)
inline

◆ operator=() [5/5]

template<typename T >
ObjectPtrT & operator= ( T * p1)
inline

◆ operator==() [1/2]

template<typename T >
bool operator== ( const ObjectPtrT< T > & p1) const
inline

◆ operator==() [2/2]

template<typename T >
bool operator== ( const T * p1) const
inline

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