-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiblio.h
48 lines (39 loc) · 935 Bytes
/
biblio.h
1
2
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
#ifndef BIBLIO_H
#define BIBLIO_H
#include <string>
#include <cstring>
#include <fstream>
#include <iostream>
//using namespace std;
class Biblio
{
private:
int _num;
std::string _nom;
double _cout;
double _poids;
std::string _cont;
std::string _accr;
std::string _source;
public:
// Constructeurs
Biblio();
Biblio(int num, std::string nom, double cout, double poids, std::string cont, std::string accr, std::string source);
// Getters
int GetNum();
std::string GetNom();
double GetCout();
double GetPoids();
std::string GetCont();
std::string GetAccr();
std::string GetSource();
// Setters
void SetNum(int num);
void SetNom(std::string nom);
void SetCout(double cout);
void SetPoids(double poids);
void SetCont(std::string cont);
void SetAccr(std::string accr);
void SetSource(std::string source);
};
#endif // BIBLIO_H