#include <Queue.hxx>
◆ Vector
◆ size_type
◆ size()
◆ empty()
bool MpdQueue::empty |
( |
| ) |
const |
|
inline |
◆ clear()
remove and free all songs in the playlist
◆ operator[]() [1/2]
const struct mpd_song& MpdQueue::operator[] |
( |
size_type |
i | ) |
const |
|
inline |
◆ operator[]() [2/2]
struct mpd_song& MpdQueue::operator[] |
( |
size_type |
i | ) |
|
|
inline |
◆ GetChecked()
gcc_pure const struct mpd_song* MpdQueue::GetChecked |
( |
int |
i | ) |
const |
◆ push_back()
void MpdQueue::push_back |
( |
const struct mpd_song & |
song | ) |
|
|
inline |
◆ Replace()
void MpdQueue::Replace |
( |
size_type |
i, |
|
|
const struct mpd_song & |
song |
|
) |
| |
|
inline |
◆ RemoveIndex()
◆ Move()
void MpdQueue::Move |
( |
unsigned |
dest, |
|
|
unsigned |
src |
|
) |
| |
◆ FindByReference()
gcc_pure size_type MpdQueue::FindByReference |
( |
const struct mpd_song & |
song | ) |
const |
Find a song by its reference. This method compares #mpd_song references, so this method makes only sense for songs references which were obtained from this container.
- Returns
- the song position
◆ FindById()
gcc_pure int MpdQueue::FindById |
( |
unsigned |
id | ) |
const |
Find a song by its id.
- Returns
- the song position
◆ FindByUri()
gcc_pure int MpdQueue::FindByUri |
( |
const char * |
uri | ) |
const |
Find a song by its URI.
- Returns
- the song position
◆ FindIdByUri()
gcc_pure int MpdQueue::FindIdByUri |
( |
const char * |
uri | ) |
const |
|
inline |
Like FindByUri(), but return the song id, not the song position
- Returns
- the song id
◆ ContainsUri()
gcc_pure bool MpdQueue::ContainsUri |
( |
const char * |
uri | ) |
const |
|
inline |
◆ version
unsigned MpdQueue::version = 0 |
◆ items
The documentation for this struct was generated from the following file: