#include <Ostudent.h>
Inheritance diagram for StudentArray:
Definition at line 241 of file Ostudent.h.
Definition at line 15 of file Ostudena.cpp.
Definition at line 69 of file Ostudena.cpp.
Definition at line 83 of file Ostudena.cpp.
References DynArray::get(), Student::init(), DynArrayB::linkin(), DynArray::recno(), and student_count.
Definition at line 727 of file Ostud_pi.cpp.
References ave_time_to_graduation_for_ug, BACHELOR_DEGREE, bachelor_degree, cur_bachelor_degree, cur_doctor_degree, cur_dropout, cur_master_degree, DEGREE_TYPE_COUNT, DOCTOR, DOCTOR_DEGREE, doctor_degree, dropout_rate, fake_disp_time_to_degree, is_deleted(), MASTER, MASTER_DEGREE, master_degree, MAX_STUDENT_LEVEL, operator[](), shift_history, DynArray::size(), Student::student_level, time_to_degree, time_to_degree_cumm, and Student::year_in_program.
Referenced by update_history().
Definition at line 618 of file Ostud_pi.cpp.
References DEGREE_TYPE_COUNT, and UG_TRADITION.
Definition at line 101 of file Ostudena.cpp.
References DynArray::get(), DynArray::get_ptr(), DynArrayB::linkout(), and student_count.
Referenced by DepartmentRes::deinit(), plagiarism_scandal(), and scandal_in_athletics().
This function is called when **generating student** records during initialization. It is to generate previous course selection records for the students.
<int> processYearInProgram = only process students whose year in program is the same as this.
Definition at line 279 of file Ostudena.cpp.
References FIRST_TRIMESTER, LAST_TRIMESTER, and MASTER.
Definition at line 124 of file Ostudena.cpp.
References DynArray::get(), NULL, and Student::student_recno.
Referenced by calc_degree_awarded(), EnrollRes::calc_student_count(), DepartmentRes::deinit(), plagiarism_scandal(), scandal_in_athletics(), PlayerSchool::summary_student_report_1(), update_history(), and EnrollRes::update_student_intake().
Definition at line 157 of file Ostudena.cpp.
This function is called when a new school year begins.
Definition at line 192 of file Ostudena.cpp.
[inline]
Definition at line 269 of file Ostudent.h.
References DynArray::get().
Referenced by calc_degree_awarded(), and update_history().
Read a saved dynamic array from file, it must be saved with write_file()
<File*> readFile = the pointer to the writing file
Return : 1 - read successfully 0 - writing error
Reimplemented from DynArrayB.
Definition at line 229 of file OGFILE4.CPP.
References err_when, File::file_read(), DynArrayB::packed_size(), DynArrayB::read_file(), and student_count.
Referenced by GeneralDepartment::read_file().
All courses are selected during breaks between trimesters.
[int] ignoreFaculty - if this is true, courses will be assigned without faculty constraints. This is for initialization only. (default: 0)
Definition at line 221 of file Ostudena.cpp.
References MAX_STUDENT_LEVEL.
Definition at line 478 of file Ostud_pi.cpp.
References ave_satisfaction_student_life, BACHELOR_DEGREE, calc_degree_awarded(), calc_student_performance(), cur_bachelor_degree, cur_doctor_degree, cur_master_degree, DEGREE_TYPE_COUNT, School::doc_time_to_degree, DOCTOR_DEGREE, err_here, err_when, is_deleted(), MASTER_DEGREE, MAX_STUDENT_LEVEL, operator[](), Student::satisfaction_student_life, DynArray::size(), Student::student_level, time_to_degree, School::total_bach_degrees, School::total_doctoral_degrees, School::total_masters_and_prof_degree, and UG_TRADITION.
Write current dynamic array into file, read_file() can be used to retrieve it.
<File*> writeFile = the pointer to the writing file
Return : 1 - write successfully 0 - writing error
Definition at line 222 of file OGFILE4.CPP.
Definition at line 330 of file Ostudent.h.
Definition at line 346 of file Ostudent.h.
Definition at line 344 of file Ostudent.h.
Referenced by calc_degree_awarded().
Definition at line 320 of file Ostudent.h.
Referenced by calc_degree_awarded(), and PlayerSchool::summary_student_report_3().
Definition at line 332 of file Ostudent.h.
Definition at line 337 of file Ostudent.h.
Definition at line 329 of file Ostudent.h.
Referenced by calc_degree_awarded(), and scandal_in_athletics().
Definition at line 336 of file Ostudent.h.
Definition at line 243 of file Ostudent.h.
Definition at line 325 of file Ostudent.h.
Definition at line 314 of file Ostudent.h.
Definition at line 317 of file Ostudent.h.
Definition at line 324 of file Ostudent.h.
Definition at line 299 of file Ostudent.h.
Referenced by PlayerSchool::summary_student_report_3().
Definition at line 306 of file Ostudent.h.
Definition at line 308 of file Ostudent.h.
Definition at line 310 of file Ostudent.h.
Definition at line 307 of file Ostudent.h.
Definition at line 244 of file Ostudent.h.
Referenced by add(), DepartmentArray::calc_faculty_student_history(), del(), read_file(), and DepartmentArray::update_history().
Definition at line 302 of file Ostudent.h.
Definition at line 298 of file Ostudent.h.
Definition at line 304 of file Ostudent.h.
Definition at line 303 of file Ostudent.h.
Definition at line 313 of file Ostudent.h.
Referenced by calc_degree_awarded(), PlayerSchool::summary_student_report_3(), and update_history().
Definition at line 328 of file Ostudent.h.