| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 
 | #ifndef _DESTINATAIRE_H_
#define _DESTINATAIRE_H_
 
#include <string>
#include <iostream>
#include <ostream>
 
 
class Destinataire
{
private:
	std::string matricule;
	std::string libelleCptD;
	std::string nomBanqueD;
	std::string codeGD;
	std::string numCptD;
	std::string paieNet;
	std::string libelle;
	std::string codeBD;
 
public:
	Destinataire();
 
	void afficheD(int n);
 
	const std::string get_matricule() const;
	void set_matricule(std::string value);
 
	const std::string get_libelleCptD() const;
	void set_libelleCptD(std::string value);
 
	const std::string get_nomBanqueD() const;
	void set_nomBanqueD(std::string value);
 
	const std::string get_codeGD() const;
	void set_codeGD(std::string value);
 
	const std::string get_numCptD() const;
	void set_numCptD(std::string value);
 
	const std::string get_paieNet() const;
	void set_paieNet(std::string value);
 
	const std::string get_libelle() const;
	void set_libelle(std::string value);
 
	const std::string get_codeBD() const;
	void set_codeBD(std::string value);
 
	// surcharge de l'operateur <<
	ostream& operator<< (ostream &os, const Destinataire &dest){
		os << dest.matricule << endl;
		os << dest.libelleCptD << std::endl;
		os << dest.nomBanqueD << std::endl;
		os << dest.codeGD << std::endl;
		os << dest.numCptD << std::endl;
		os << dest.paieNet << std::endl;
		os << dest.libelle << std::endl;
		os << dest.codeBD << std::endl;
 
		return os;
	};
};
 
#endif // _DESTINATAIRE_H_ |