MPD: MemorySongEnumerator Class Reference

MPD 0.20.18

Public Member Functions
MemorySongEnumerator Class Referencefinal

`#include <MemorySongEnumerator.hxx>`

Inheritance diagram for MemorySongEnumerator:
[legend]
Collaboration diagram for MemorySongEnumerator:
[legend]

## Public Member Functions
| MemorySongEnumerator (std::forward_list< DetachedSong > &&_songs)
virtual std::unique_ptr< DetachedSong > | NextSong () override
| Obtain the next song. More...
Public Member Functions inherited from SongEnumerator
virtual | ~SongEnumerator ()

## Detailed Description

Definition at line 29 of file MemorySongEnumerator.hxx.

## Constructor & Destructor Documentation

## ◆ MemorySongEnumerator()

MemorySongEnumerator::MemorySongEnumerator | ( | std::forward_list< DetachedSong > && | _songs | ) |
| inline

Definition at line 33 of file MemorySongEnumerator.hxx.

## Member Function Documentation

## ◆ NextSong()

virtual std::unique_ptr<DetachedSong> MemorySongEnumerator::NextSong | ( |  | ) |
| overridevirtual

Obtain the next song.

Returns nullptr if there are no more songs.

Implements SongEnumerator.

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

- playlist/MemorySongEnumerator.hxx