blob: 6f9c66c7971c86969c048a9ea14e8eb61781e5d4 (
plain) (
blame)
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
|
#include <iostream>
#include <string>
#include <utility>
#include "College.hh"
#include "University.hh"
auto College::set_college_name(std::string name) -> void {
this->college_name = std::move(name);
}
auto College::get_college_name() -> std::string { return this->college_name; }
auto College::set_college_location(std::string location) -> void {
this->college_location = std::move(location);
}
auto College::get_college_location() -> std::string {
return this->college_location;
}
// auto College::operator==(University) -> void {
// // compare all fields of college and university
// }
auto College::print_pin(const University &) -> void {
std::cout << "University pin: " << this->university_pin.get_univ_pin()
<< '\n';
}
|