Film::Film(const Film & f):AbstractMedia(f) { m_realisateur = f.getRealisateur(); m_scenariste = f.getScenariste(); m_acteurPrincipaux = f.getActeursPrincipaux(); m_type = f.getType(); m_duree = f.getDuree(); m_support = f.getSupport(); }
bool Film::operator == (const Film& f) { return ((this->AbstractMedia::operator ==(f)) && (getRealisateur() == f.getRealisateur()) && (getScenariste() == f.getScenariste()) && (getActeursPrincipaux() == f.getActeursPrincipaux()) && (getType() == f.getType()) && (getDuree() == f.getDuree()) && (getSupport() == f.getSupport())); }