/* personne.h */

#ifndef _PERSONNE_H
#define _PERSONNE_H 1

#include <string>

enum sexe_t {
	HOMME=0,
	FEMME,
	SURPRISE
};

class personne {
	int age;
	sexe_t sexe;
	std::string nom;
	std::string prenom;

	personne(const personne& p);

protected:
	sexe_t get_sexe() const { return sexe; }

public:
	personne(std::string p="Anonyme", std::string n="X", int a=0, sexe_t s=SURPRISE);
	~personne();
	
	personne* operator*(const int& nb) const;
	virtual std::string get_identification() const { return (prenom + " " + nom); }
	void vieillit() { age++; }
};

#endif
