-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDataBase.h
More file actions
40 lines (33 loc) · 713 Bytes
/
Copy pathDataBase.h
File metadata and controls
40 lines (33 loc) · 713 Bytes
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
#pragma once
#include <iostream>
using namespace std;
#include "Album.h"
#include "Artist.h"
#include "Track.h"
#include "TrackList.h"
class DataBase
{
public:
void Run();
void CreateDataBase();
void Insert();
void Search();
void Delete();
void InsertArtist();
void InsertTrack();
void InsertAlbum();
void SearchForArtist(string Entry);
void SearchForTrack(string Entry);
void SearchForAlbum(string Entry);
void DeleteArtist();
void DeleteTrack();
void DeleteAlbum();
void PrintTracksByArtistID(int ID);
void PrintArtistsByTrackID(int ID);
void PrintTracksByAlbumID(int ID);
void ControlDeletion(string delStr);
private:
TableArtists Artists;
TableAlbums Albums;
TableTracks Tracks;
};