#include <Odept.h>
Inheritance diagram for DepartmentArray:
Definition at line 390 of file Odept.h.
Definition at line 18 of file Odepta.cpp.
Definition at line 25 of file Odepta.cpp.
Definition at line 140 of file Odepta.cpp.
References department_count, err_when, DynArray::get_ptr(), Department::init(), DynArrayB::linkin(), MAX_DEPARTMENT, DynArray::recno(), and selected_recno.
Definition at line 553 of file Odepa_pi.cpp.
References CourseArray::admission_denied_count, admission_denied_count, CourseArray::average_class_size, average_class_size, BREAKOUT_LAB, CourseArray::class_section_count, class_section_count, CourseArray::convention_student_count, convention_student_count, Department::course_array, department_count, DISTANCE_LEARN_COURSE, experienced_class_size, CourseArray::failure_count, failure_count, MAX_TEACHING_METHOD, CourseArray::normal_class_size, normal_class_size, operator[](), shift_history, DynArray::size(), size_deviation, and Course::teaching_method.
Definition at line 315 of file Odepta.cpp.
References Department::course_preference, COURSE_PREFERENCE_COUNT, Department::course_preference_input, GeneralDepartment::department_id, err_when, is_deleted(), operator[](), DynArray::size(), and CourseTemplate::target_preference.
Definition at line 720 of file Odepa_pi.cpp.
References err_when, Department::faculty_array, FacultyArray::faculty_count, Department::faculty_gender_history, faculty_gender_history, Department::faculty_level_history, faculty_level_history, FACULTY_RANK_LEVEL_COUNT_N_TOTAL, GENDER_ETHNIC_TYPE_COUNT, GENDER_ETHNIC_TYPE_COUNT_N_TOTAL, is_deleted(), MAX_STUDENT_LEVEL_N_TOTAL, DynArray::size(), GeneralDepartment::student_array, StudentArray::student_count, GeneralDepartment::student_gender_history, student_gender_history, GeneralDepartment::student_level_history, student_level_history, total_faculty_count, and total_student_count.
Definition at line 686 of file Odepa_pi.cpp.
References RESEARCH_STATUS_COUNT.
called only by read_file() return : <int> nationRecno = the recno. of the newly added nation
Definition at line 174 of file Odepta.cpp.
References MAX_DEPARTMENT.
Referenced by read_file().
Reimplemented from DynArray.
Definition at line 97 of file Odepta.cpp.
Definition at line 190 of file Odepta.cpp.
References department_count, is_deleted(), DynArrayB::linkout(), selected_recno, and DynArray::size().
Definition at line 390 of file Odepa_hi.cpp.
References FACULTY_RANK_LEVEL_COUNT.
Return whether this department array has the department whose name is passed as the parameter.
Definition at line 282 of file Odepta.cpp.
Definition at line 33 of file Odepta.cpp.
References MODE_DEPT_DEPARTMENTAL_ACADEMIC_STANDING, MODE_DEPT_EDUCATIONAL_QUALITY, MODE_DEPT_EDUCATIONAL_QUALITY2, MODE_DEPT_FACULTY_DIVERSITY_INDEX, MODE_DEPT_FACULTY_MORALE, MODE_DEPT_FACULTY_RESEARCH_PERFORMANCE, MODE_DEPT_MAIN, MODE_DEPT_RANK, and MODE_DEPT_STUDENT_MORALE.
Definition at line 117 of file Odepta.cpp.
References SchoolFacultyEx::active_research_dollars, average_research_dollars, FACULTY_RANK_LEVEL_COUNT, MAX_SCHOOL_EX_FOR_INIT_CONDITION, and SchoolEx::school_faculty_array_ex.
called once for each game
Definition at line 143 of file Ofac_rs.cpp.
References Department::faculty_array, Faculty::init_research(), FacultyArray::is_deleted(), and DynArray::size().
Definition at line 266 of file Odepta.cpp.
References Department::department_recno, DynArray::get_ptr(), and NULL.
Referenced by calc_course_pref(), calc_faculty_student_history(), and del().
Definition at line 222 of file Odepta.cpp.
References RESEARCH_STATUS_COUNT, research_y_history, shift_history, and update_history().
[inline]
Definition at line 428 of file Odept.h.
References DynArray::get_ptr().
Referenced by calc_course_history(), and calc_course_pref().
Definition at line 472 of file Odepa_pi.cpp.
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 65 of file OGFILE4.CPP.
References DynArray::add_blank(), Department::create_department_firm(), create_dept(), department_count, Department::department_recno, err_when, File::file_get_short(), File::file_read(), DynArray::get_ptr(), DynArray::go(), DynArrayB::linkout(), NULL, DynArrayB::packed_size(), DynArrayB::read_empty_room(), Department::read_file(), and DynArray::size().
refer to td 3.5 section 3
Definition at line 232 of file Odepa_hi.cpp.
References GENDER_ETHNIC_TYPE_COUNT, PL_FACULTY_SALARY_INCREASES, and S1_FACULTY_SALARY_INCREASES.
[inline, static]
Definition at line 452 of file Odept.h.
References IF.
Definition at line 141 of file Odepa_pi.cpp.
References FacultyArray::discretionary_hour_array, DISCRETIONARY_TYPE_COUNT_N_TOTAL, err_here, err_when, Department::faculty_array, FacultyArray::faculty_count, FACULTY_RANK_LEVEL_COUNT_N_TOTAL, GENDER_ETHNIC_TYPE_COUNT_N_TOTAL, MAX_STUDENT_LEVEL_N_TOTAL, MAX_TEACHING_METHOD_N_TOTAL, Department::p_educational_quality_history, Department::p_faculty_diversity_history, Department::p_faculty_morale_history, Department::p_faculty_research_history, Department::p_student_morale_history, FacultyArray::performance_research, FacultyArray::performance_scholarship, FacultyArray::performance_teaching, Department::regular_faculty_count, RESEARCH_STATUS_COUNT, S_PRESTIGE, shift_history, GeneralDepartment::student_array, StudentArray::student_count, FacultyArray::talent_research, FacultyArray::talent_scholarship, FacultyArray::talent_teaching, and FacultyArray::teaching_contact_hour.
Referenced by next_day().
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 21 of file OGFILE4.CPP.
Definition at line 541 of file Odept.h.
Referenced by calc_course_history().
Definition at line 537 of file Odept.h.
Definition at line 503 of file Odept.h.
Referenced by init_data().
Definition at line 535 of file Odept.h.
Definition at line 536 of file Odept.h.
Definition at line 398 of file Odept.h.
Definition at line 397 of file Odept.h.
Definition at line 433 of file Odept.h.
Definition at line 396 of file Odept.h.
Definition at line 392 of file Odept.h.
Referenced by add(), calc_course_history(), del(), and read_file().
Definition at line 498 of file Odept.h.
Definition at line 546 of file Odept.h.
Definition at line 459 of file Odept.h.
Definition at line 460 of file Odept.h.
Definition at line 492 of file Odept.h.
Referenced by calc_faculty_student_history().
Definition at line 491 of file Odept.h.
Definition at line 464 of file Odept.h.
Definition at line 463 of file Odept.h.
Definition at line 462 of file Odept.h.
Definition at line 542 of file Odept.h.
Definition at line 449 of file Odept.h.
Definition at line 455 of file Odept.h.
Definition at line 456 of file Odept.h.
Definition at line 395 of file Odept.h.
Definition at line 538 of file Odept.h.
Definition at line 476 of file Odept.h.
Definition at line 483 of file Odept.h.
Definition at line 475 of file Odept.h.
Definition at line 482 of file Odept.h.
Definition at line 480 of file Odept.h.
Definition at line 487 of file Odept.h.
Definition at line 479 of file Odept.h.
Definition at line 486 of file Odept.h.
Definition at line 478 of file Odept.h.
Definition at line 485 of file Odept.h.
Definition at line 477 of file Odept.h.
Definition at line 484 of file Odept.h.
Definition at line 532 of file Odept.h.
Definition at line 530 of file Odept.h.
Definition at line 529 of file Odept.h.
Definition at line 444 of file Odept.h.
Definition at line 520 of file Odept.h.
Definition at line 517 of file Odept.h.
Definition at line 510 of file Odept.h.
Definition at line 515 of file Odept.h.
Definition at line 448 of file Odept.h.
Definition at line 512 of file Odept.h.
Definition at line 447 of file Odept.h.
Definition at line 394 of file Odept.h.
Referenced by add(), and del().
Definition at line 540 of file Odept.h.
Definition at line 494 of file Odept.h.
Definition at line 493 of file Odept.h.
Definition at line 526 of file Odept.h.
Definition at line 525 of file Odept.h.
Definition at line 524 of file Odept.h.
Definition at line 497 of file Odept.h.
Definition at line 446 of file Odept.h.
Definition at line 490 of file Odept.h.
Definition at line 489 of file Odept.h.
Definition at line 440 of file Odept.h.
Definition at line 439 of file Odept.h.
Definition at line 438 of file Odept.h.