#include <logobjectptr.h>
Public Member Functions | |
LogObjectPtr () | |
LogObjectPtr (const LogObjectPtr< T > &rOther) | |
LogObjectPtr (T *pLogObject) | |
LogObjectPtr< T > & | operator= (const LogObjectPtr< T > &rOther) |
~LogObjectPtr () | |
LogObjectPtr< T > & | operator= (T *pLogObject) |
T * | operator-> () const |
T & | operator* () const |
operator T * () const |
Log4Qt::LogObjectPtr< T >::LogObjectPtr | ( | ) | [inline] |
Constructs a 0 LogObject pointer.
Log4Qt::LogObjectPtr< T >::LogObjectPtr | ( | const LogObjectPtr< T > & | rOther | ) | [inline] |
Constructs a LogObject pointer that points to the same object then rOther. The reference counter of the object is incremented by one.
Log4Qt::LogObjectPtr< T >::LogObjectPtr | ( | T * | pLogObject | ) | [inline] |
Log4Qt::LogObjectPtr< T >::~LogObjectPtr | ( | ) | [inline] |
Destructs the object. The reference counter of the object the LogObjectPtr points to is decremented by one.
LogObjectPtr< T > & Log4Qt::LogObjectPtr< T >::operator= | ( | const LogObjectPtr< T > & | rOther | ) | [inline] |
Assignment operator. Sets the LogObject pointer to point to the same object that rOther points to. The reference counter of the object the LogObjectPtr pointed to before the assignment is decremented by one. The reference counter of the object rOther is pointing to is incremented by one.
References Log4Qt::LogObjectPtr< T >::mpLogObject, and Log4Qt::LogObjectPtr< T >::retain().
LogObjectPtr< T > & Log4Qt::LogObjectPtr< T >::operator= | ( | T * | pLogObject | ) | [inline] |
Assignment operator. Sets the LogObject pointer to point to the object pLogObject. The reference counter of the object the LogObjectPtr pointed to before the assignment is decremented by one. The reference counter of the object pLogObject is pointing to is incremented by one.
T * Log4Qt::LogObjectPtr< T >::operator-> | ( | ) | const [inline] |
Arrow operator. Returns the LogObject the object points to.
T & Log4Qt::LogObjectPtr< T >::operator* | ( | ) | const [inline] |
Dereference operator. Returns a pointer to the LogObject the object points to.
Log4Qt::LogObjectPtr< T >::operator T * | ( | ) | const [inline] |
Cast operator. Cast the object to the LogObject the object points to.