Voila le code de Personne.h :
#ifndef PERSONNE_H
#define PERSONNE_H
#include "Zoo.h"
class Zoo ;
class Personne
{
Zoo* m_Zoo ;
std::string m_Nom;
std::string m_Prenom;
std::string m_Adresse;
int m_Id;
float m_Tarif;
public :
//Constructeur par defaut et sa surcharge.
Personne () ;
Personne (Zoo* Zoo , std::string Nom, std::string Prenom, std::string Adresse, int Id, float Tarif ) ;
/**
* @return Personne
*/
Personne* get_Personne ( );
/**
* Set the value of m_Nom
* @param new_var the new value of m_Nom
*/
void setNom ( std::string new_var );
/**
* Get the value of m_Nom
* @return the value of m_Nom
*/
std::string getNom ( );
/**
* Set the value of m_Prenom
* @param new_var the new value of m_Prenom
*/
void setPrenom ( std::string new_var );
/**
* Get the value of m_Prenom
* @return the value of m_Prenom
*/
std::string getPrenom ( );
/**
* Set the value of m_Adresse
* @param new_var the new value of m_Adresse
*/
void setAdresse ( std::string new_var );
/**
* Get the value of m_Adresse
* @return the value of m_Adresse
*/
std::string getAdresse ( );
/**
* Set the value of m_Id
* @param new_var the new value of m_Id
*/
void setId ( int new_var );
/**
* Get the value of m_Id
* @return the value of m_Id
*/
int getId ( );
/**
* Set the value of m_Tarif
* @param new_var the new value of m_Tarif
*/
void setTarif ( float new_var );
/**
* Get the value of m_Tarif
* @return the value of m_Tarif
*/
float getTarif ( );
~Personne() ;
};
#endif // PERSONNE_H