digiKam
Digikam::AlbumIterator Class Reference

Public Member Functions

 AlbumIterator (Album *const album)
 
Albumcurrent () const
 
Albumoperator* ()
 
AlbumIteratoroperator++ ()
 
 ~AlbumIterator ()
 

Detailed Description

Iterate over all children of this Album.

Note
It will not include the specified album

Example usage:

AlbumIterator it(album);
while ( it.current() )
{
qCDebug(DIGIKAM_GENERAL_LOG) << "Album: " << it.current()->title();
++it;
}
AlbumIterator(Album *const album)
Definition: album.cpp:809
Warning
Do not delete albums using this iterator.

Constructor & Destructor Documentation

◆ AlbumIterator()

Digikam::AlbumIterator::AlbumIterator ( Album *const  album)
explicit

◆ ~AlbumIterator()

Digikam::AlbumIterator::~AlbumIterator ( )

Member Function Documentation

◆ current()

◆ operator*()

Album * Digikam::AlbumIterator::operator* ( )

◆ operator++()

AlbumIterator & Digikam::AlbumIterator::operator++ ( )

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