diff options
| author | Fuwn <[email protected]> | 2024-05-18 00:38:03 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-18 00:38:03 -0700 |
| commit | b6233bd925eb8bcf848e580371814e3bd745c63f (patch) | |
| tree | 0ab5728b7153c435ad4dadcb42af9e744f70da9a /College_Impl.cpp | |
| parent | f (diff) | |
| download | cst_136_assignment_07-main.tar.xz cst_136_assignment_07-main.zip | |
Diffstat (limited to 'College_Impl.cpp')
| -rw-r--r-- | College_Impl.cpp | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/College_Impl.cpp b/College_Impl.cpp index 1d96b2d..4e0b17d 100644 --- a/College_Impl.cpp +++ b/College_Impl.cpp @@ -19,7 +19,27 @@ auto College::get_college_location() -> std::string { return this->college_location; } -auto College::operator==(const University &university) -> bool { +auto College::set_college_rank(int rank) -> void { this->college_rank = rank; } + +auto College::get_college_rank() -> int { return this->college_rank; } + +auto College::set_reqd_gpa_for_admit(double gpa) -> void { + this->reqd_gpa_for_admit = gpa; +} + +auto College::get_reqd_gpa_for_admit() -> double { + return this->reqd_gpa_for_admit; +} + +auto College::set_university_pin(const University &university) -> void { + this->university_pin = university; +} + +auto College::get_university_pin() -> University { + return this->university_pin; +} + +auto College::operator==(const University &university) const -> bool { return this->university_pin.get_univ_pin() == university.get_univ_pin(); } |