Beispiel #1
0
bool Audio::operator ==(const Audio& aud1) const
{
    if ((this->title() == aud1.title()) && (this->artist() == aud1.artist()) && (this->ownerId() == aud1.ownerId()))
        return true;
    else
        return false;
}
Beispiel #2
0
bool Audio::operator <(const Audio& aud1) const
{
    return this->title() < aud1.title();
}