Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

Student class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

Student Class Reference

#include <Ostudent.h>

List of all members.

Public Methods

int year_admitted ()
int division_status ()
void init (char studentLevel, char yearInProgram, char genderEthnicGroup, char stuSeg, char major, int finAid, float *talentArr)
int write_file (File *filePtr)
int read_file (File *filePtr)
void next_day ()
void next_trimester ()
void select_course (int ignoreFaculty=0)
int change_major (int couCompleted)
void update_history (char update_flag)
void calc_satisfaction_academic ()

Public Attributes

int student_recno
short department_recno
char student_level
char gender_ethnic_group
char student_segment
int date_admitted
char year_in_program
float academic_achievement
int financial_aid
float initializationValueAC_LIBRARIES
float initializationValueAC_ATHLETICS
char course_per_trimester [TRIMESTER_PER_YEAR]
char total_course_all
char total_elective_course_this_year
char course_taken_array [MAX_DEPARTMENT][MAX_COURSE_DEPTH_WITHOUT_GR]
char course_taking_array [MAX_DEPARTMENT]
char failed_course_count
char course_denials_this_trimester
char course_failures_this_trimester
char off_quarter
char talent_academic
char talent_extracurricular
char talent_athletics
char satisfaction_academic
char satisfaction_student_life
char satisfaction_athletics
char satisfaction_overall
char faculty_workweek
char reaction_summer_course
char reaction_summer_course_last
float probability_change_major
float multiplier_on_dropout_prob
float extra_effect_satisfaction_academic


Detailed Description

Class for representing a member of the student body, including personal information, course history, and talents. Contains methods for computing satisfaction, selcting courses, and thinking/deciding on future educational pursuits. Responds to next_day() and read/write. See Tech doc 3.3 section 4.

Definition at line 90 of file Ostudent.h.


Member Function Documentation

void Student::calc_satisfaction_academic  
 

Definition at line 64 of file Ostud_pi.cpp.

References AC_LIBRARIES, course_denials_this_trimester, course_failures_this_trimester, course_taking_array, department_recno, DISTANCE_LEARN, DOCTOR, err_here, extra_effect_satisfaction_academic, initializationValueAC_LIBRARIES, MASTER, PSCH_SD, satisfaction_academic, and student_level.

Referenced by plagiarism_scandal().

int Student::change_major int    couCompleted
 

courseCompleted = 0 by default

Definition at line 595 of file Ostudent.cpp.

int Student::division_status   [inline]
 

Definition at line 116 of file Ostudent.h.

References LOWER_DIVISION, UPPER_DIVISION, and year_in_program.

void Student::init char    studentLevel,
char    yearInProgram,
char    genderEthnicGroup,
char    stuSeg,
char    major,
int    finAid,
float *    talentArr
 

Definition at line 49 of file Ostudent.cpp.

References AUTUMN, STD_COURSE_PER_TRIMESTER, UG_NONTRADITION, and WINTER.

Referenced by StudentArray::add().

void Student::next_day  
 

Definition at line 144 of file Ostudent.cpp.

void Student::next_trimester  
 

Definition at line 189 of file Ostudent.cpp.

References FIRST_TRIMESTER.

int Student::read_file File   filePtr
 

void Student::select_course int    ignoreFaculty = 0
 

[int] ignoreFaculty - if this is true, courses will be assigned without faculty constraints. This is for initialization only. (default: 0) [int] initPrevFlag - don't test or increase student count, denial count in course

Definition at line 61 of file Ostud_sc.cpp.

References err_when.

void Student::update_history char    update_flag
 

update history arrays

update_flag = UPDATE_TRIMESTER, UPDATE_MONTH, UPDATE_YEAR; (ooffice.h)

Definition at line 32 of file Ostud_pi.cpp.

References err_here.

int Student::write_file File   filePtr
 

int Student::year_admitted  
 

Definition at line 136 of file Ostudent.cpp.


Member Data Documentation

float Student::academic_achievement
 

Definition at line 117 of file Ostudent.h.

char Student::course_denials_this_trimester
 

Definition at line 137 of file Ostudent.h.

Referenced by calc_satisfaction_academic().

char Student::course_failures_this_trimester
 

Definition at line 138 of file Ostudent.h.

Referenced by calc_satisfaction_academic().

char Student::course_per_trimester[TRIMESTER_PER_YEAR]
 

Definition at line 126 of file Ostudent.h.

char Student::course_taken_array[MAX_DEPARTMENT][MAX_COURSE_DEPTH_WITHOUT_GR]
 

Definition at line 132 of file Ostudent.h.

char Student::course_taking_array[MAX_DEPARTMENT]
 

Definition at line 133 of file Ostudent.h.

Referenced by calc_satisfaction_academic().

int Student::date_admitted
 

Definition at line 109 of file Ostudent.h.

short Student::department_recno
 

Definition at line 103 of file Ostudent.h.

Referenced by calc_satisfaction_academic().

float Student::extra_effect_satisfaction_academic
 

Definition at line 165 of file Ostudent.h.

Referenced by calc_satisfaction_academic(), and plagiarism_scandal().

char Student::faculty_workweek
 

Definition at line 155 of file Ostudent.h.

char Student::failed_course_count
 

Definition at line 136 of file Ostudent.h.

int Student::financial_aid
 

Definition at line 118 of file Ostudent.h.

char Student::gender_ethnic_group
 

Definition at line 106 of file Ostudent.h.

Referenced by EnrollRes::calc_student_count().

float Student::initializationValueAC_ATHLETICS
 

Definition at line 122 of file Ostudent.h.

float Student::initializationValueAC_LIBRARIES
 

Definition at line 121 of file Ostudent.h.

Referenced by calc_satisfaction_academic().

float Student::multiplier_on_dropout_prob
 

Definition at line 161 of file Ostudent.h.

char Student::off_quarter
 

Definition at line 141 of file Ostudent.h.

float Student::probability_change_major
 

Definition at line 160 of file Ostudent.h.

char Student::reaction_summer_course
 

Definition at line 158 of file Ostudent.h.

char Student::reaction_summer_course_last
 

Definition at line 158 of file Ostudent.h.

char Student::satisfaction_academic
 

Definition at line 151 of file Ostudent.h.

Referenced by calc_satisfaction_academic().

char Student::satisfaction_athletics
 

Definition at line 153 of file Ostudent.h.

char Student::satisfaction_overall
 

Definition at line 154 of file Ostudent.h.

char Student::satisfaction_student_life
 

Definition at line 152 of file Ostudent.h.

Referenced by StudentArray::update_history().

char Student::student_level
 

Definition at line 105 of file Ostudent.h.

Referenced by StudentArray::calc_degree_awarded(), calc_satisfaction_academic(), EnrollRes::calc_student_count(), scandal_in_athletics(), StudentArray::update_history(), and EnrollRes::update_student_intake().

int Student::student_recno
 

Definition at line 101 of file Ostudent.h.

Referenced by StudentArray::is_deleted(), and scandal_in_athletics().

char Student::student_segment
 

Definition at line 107 of file Ostudent.h.

char Student::talent_academic
 

Definition at line 147 of file Ostudent.h.

char Student::talent_athletics
 

Definition at line 149 of file Ostudent.h.

Referenced by scandal_in_athletics().

char Student::talent_extracurricular
 

Definition at line 148 of file Ostudent.h.

char Student::total_course_all
 

Definition at line 128 of file Ostudent.h.

char Student::total_elective_course_this_year
 

Definition at line 129 of file Ostudent.h.

char Student::year_in_program
 

Definition at line 114 of file Ostudent.h.

Referenced by StudentArray::calc_degree_awarded(), and division_status().


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:38 2002 for VirtualU by doxygen1.2.17