#ifndef ENCLOS_H #define ENCLOS_H #include #include #include "animal.h" #include "entretient.h" #include using namespace std; class ENTRETIENT; class ANIMAL; class ENCLOS { // Associations // Attributes private: int num; string nom; float surface; set sani; set sentretient; // Operations public: //Constructeur ENCLOS(int nu, string no, float su){num=nu; nom=no; surface=su;}; //Destructeur ~ENCLOS(); //get string getnom()const{return nom;}; int getnum()const{return num;}; set getsani(){return sani;}; set getsentretient(){return sentretient;}; int nbrani(){return sani.size();}; //methodes void AjoutEntretient(ENTRETIENT *); void SuppAni(ANIMAL*); void AjoutAni(ANIMAL*); }; #endif