A forward and backward (constant) iterator for walking through the list of songs. More...
#include <MusicPlayer.h>
Public Member Functions | |
Iterator () | |
Creates an invalid iterator. | |
void | operator++ () |
Increment operator. | |
void | operator-- () |
Decrement operator. | |
bool | operator== (const Iterator &other) const |
Boolean equality. | |
bool | operator!= (const Iterator &other) const |
Boolean inequality. | |
bool | operator! () const |
Boolean negation. | |
operator bool () const | |
Boolean type cast. | |
const Song & | operator* () const |
Dereference operator. | |
const Song * | operator-> () const |
Dereference operator. | |
bool | IsValid () const |
Checks for iterator validity. | |
bool | IsEnd () const |
Returns true if the iterator is a valid end iterator. | |
Friends | |
class | Playlist |
A forward and backward (constant) iterator for walking through the list of songs.