#include <playlist.h>
Public Types | |
typedef std::vector< SongInfo * >::const_iterator | iterator |
Iterator for iterating through the playlist. More... | |
Public Methods | |
iterator | begin () const |
Returns a pointer to the beginning of the playlist. More... | |
iterator | end () const |
Returns an invalid value for the playlist which marks the end of the list. More... | |
Playlist::SongInfo * | operator[] (unsigned i) |
Operator for returning a specific element of the playlist. More... | |
Playlist (void) | |
Creates an instance of this class. More... | |
void | addPlaylistItem (SongInfo *item) |
Adds a song to the playlist. More... | |
SongInfo * | getPlaylistItem (unsigned index) |
Returns a specific item from the playlist. More... | |
void | clear () |
Clears the playlist (does not clear the list on the server). More... | |
unsigned | size () |
Returns the number of songs in the playlist. More... | |
Protected Attributes | |
std::vector< SongInfo * > | list |
The vector containing the songinformation items. More... |
|
Iterator for iterating through the playlist.
|
|
Creates an instance of this class.
|
|
Adds a song to the playlist.
|
|
Returns a pointer to the beginning of the playlist.
|
|
Clears the playlist (does not clear the list on the server).
|
|
Returns an invalid value for the playlist which marks the end of the list.
|
|
Returns a specific item from the playlist.
|
|
Operator for returning a specific element of the playlist.
|
|
Returns the number of songs in the playlist.
|
|
The vector containing the songinformation items.
|