digiKam
Digikam::AlbumPointer< T > Class Template Reference

Public Member Functions

 AlbumPointer ()
 
 AlbumPointer (const AlbumPointer< T > &p)
 
 AlbumPointer (T *const a)
 
 operator T* () const
 
bool operator! () const
 
Toperator* () const
 
Toperator-> () const
 
AlbumPointer< T > & operator= (const AlbumPointer< T > &p)
 
AlbumPointer< T > & operator= (T *const a)
 
 ~AlbumPointer ()
 

Friends

class AlbumManager
 

Detailed Description

template<class T = Album>
class Digikam::AlbumPointer< T >

You can use AlbumPointer to store a guarded pointer to Album or one of the subclasses (use template parameter). The pointer will be set to 0 when the album object is deleted.

Constructor & Destructor Documentation

◆ AlbumPointer() [1/3]

template<class T = Album>
Digikam::AlbumPointer< T >::AlbumPointer ( )
inline

◆ AlbumPointer() [2/3]

template<class T = Album>
Digikam::AlbumPointer< T >::AlbumPointer ( T *const  a)
inline

◆ AlbumPointer() [3/3]

template<class T = Album>
Digikam::AlbumPointer< T >::AlbumPointer ( const AlbumPointer< T > &  p)
inline

◆ ~AlbumPointer()

template<class T = Album>
Digikam::AlbumPointer< T >::~AlbumPointer ( )
inline

Member Function Documentation

◆ operator T*()

template<class T = Album>
Digikam::AlbumPointer< T >::operator T* ( ) const
inline

◆ operator!()

template<class T = Album>
bool Digikam::AlbumPointer< T >::operator! ( ) const
inline

◆ operator*()

template<class T = Album>
T& Digikam::AlbumPointer< T >::operator* ( ) const
inline

References T.

◆ operator->()

template<class T = Album>
T* Digikam::AlbumPointer< T >::operator-> ( ) const
inline

References T.

◆ operator=() [1/2]

template<class T = Album>
AlbumPointer<T>& Digikam::AlbumPointer< T >::operator= ( const AlbumPointer< T > &  p)
inline

◆ operator=() [2/2]

template<class T = Album>
AlbumPointer<T>& Digikam::AlbumPointer< T >::operator= ( T *const  a)
inline

Friends And Related Function Documentation

◆ AlbumManager

template<class T = Album>
friend class AlbumManager
friend

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