-
Notifications
You must be signed in to change notification settings - Fork 0
/
include.h
43 lines (37 loc) · 1.08 KB
/
include.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
#ifndef INCLUDE_H
#define INCLUDE_H
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <vector>
#include <algorithm> // std::transform
using namespace std;
#include "utilisateur.h"
#include "id_function.h"
#include "enum_string_type.h"
#include "ressource.h"
#include "livre.h"
#include "revue.h"
#include "vhs.h"
#include "cd.h"
#include "dvd.h"
#include "ressource_num.h"
#include "mediatheque.h"
#define NB_DATA_RESSOURCE 4
#define NB_DATA_LIVRE 4+NB_DATA_RESSOURCE
#define NB_DATA_REVUE 3+NB_DATA_LIVRE+NB_DATA_RESSOURCE
#define NB_DATA_VHS 2+NB_DATA_RESSOURCE
#define NB_DATA_CD 1+NB_DATA_RESSOURCE+NB_DATA_VHS
#define NB_DATA_DVD 1+NB_DATA_RESSOURCE+NB_DATA_VHS
#define NB_DATA_RESSOURCE_NUM 3+NB_DATA_RESSOURCE
//Pour le calcul du prochain index de chaque ressource
#define ID_RESSOURCE 00000
#define ID_LIVRE 10000
#define ID_REVUE 20000
#define ID_CD 30000
#define ID_VHS 40000
#define ID_DVD 50000
#define ID_RESSOURCE_NUM 60000
#endif