-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDoctor.h
More file actions
34 lines (29 loc) · 759 Bytes
/
Doctor.h
File metadata and controls
34 lines (29 loc) · 759 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
#pragma once
#include"Name.h"
#include"Person.h"
#include<iostream>
using namespace std;
class Doctor: public Person
{
private:
int pr_dID;
char* pr_specialization;
int* pr_vistedPatient_record;
int pr_NoOfRecords;
public:
Doctor();
Doctor(int, const char*, int, int, int, int, int, const char*, const char*);
Doctor(Doctor&);
void AddPatient_record(int);
void DeletePatient_record();
void PrintVisitedPatient_record();
void SetdID(int);
void SetSpecialization(const char*);
void AddData();
void AddData(int, const char*, int, int, int, int, int, const char*, const char*);
int GetdID();
const char* GetSpecialization();
int GetNoOfRecords();
int* GetRecords();
friend ostream& operator <<(ostream&, Doctor&);
};