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

Password:

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

FacultyRes Class Reference

#include <Ofacures.h>

List of all members.

Public Methods

 FacultyRes ()
void init ()
void deinit ()
int write_file (File *filePtr)
int read_file (File *filePtr)
void report (int refreshFlag)
void report_detect ()
void summary_report (int refreshFlag)
void summary_report_1 (int refreshFlag)
void summary_report_2 (int refreshFlag)
void summary_report_3 (int refreshFlag)
void summary_report_4 (int refreshFlag)
void summary_report_5 (int refreshFlag)
void summary_report_6 (int refreshFlag)
void summary_report_7 (int refreshFlag)
void summary_report_8 (int refreshFlag)
int summary_report_detect ()
void summary_report_deinit ()
FacultyTemplateget_faculty_template (char *templateCode, int rankAgeGroup)

Public Attributes

char init_flag
int report_type
int report_list_mode
int report_det_mode
int report_faculty_recno
int report_research_recno
short faculty_template_count
FacultyTemplatefaculty_template_array
float unused_faculty_count_array [GENDER_ETHNIC_TYPE_COUNT]
int current_report_type


Detailed Description

Collection Class of all Faculty templates and methods for delegating requests to generate repots to the respective templates.

Definition at line 81 of file Ofacures.h.


Constructor & Destructor Documentation

FacultyRes::FacultyRes  
 

Definition at line 47 of file Ofacures.cpp.


Member Function Documentation

void FacultyRes::deinit  
 

Definition at line 74 of file Ofacures.cpp.

References faculty_template_count, init_flag, and summary_report_deinit().

FacultyTemplate * FacultyRes::get_faculty_template char *    templateCode,
int    rankAgeGroup
 

<char*> templateCode - if two template codes are given, a random value r will be drawn between 0 and 1. Template 1 will be weighted using r, template 2 will be weighted using 1-r. The result will be a combination of template 1 and template 2.

return: <FacultyTemplate*> pointer to the first FacultyTemplate record of a series of resultant FacultyTemplate.

Definition at line 167 of file Ofacures.cpp.

References FacultyTemplate::discretionary_time_pref, DISCRETIONARY_TYPE_COUNT, FacultyTemplate::female_multiplier, FacultyTemplate::female_salary_multiplier, FIRST_TEMPLATE_CODE, MAX_RANK_AGE_GROUP, FacultyTemplate::minority_multiplier, FacultyTemplate::minority_salary_multiplier, FacultyTemplate::normal_teaching_load_multiplier, FacultyTemplate::overall_salary_multiplier, FacultyTemplate::rank_age_multiplier, FacultyTemplate::talent_research_multiplier, FacultyTemplate::talent_scholarship_multiplier, and FacultyTemplate::talent_teaching_multiplier.

void FacultyRes::init  
 

This function must be called after a map is generated.

Definition at line 57 of file Ofacures.cpp.

References REPORT_TYPE_INSTITUTION_PROFILE1.

int FacultyRes::read_file File   filePtr
 

Definition at line 115 of file OGFILE3.CPP.

References err_when, faculty_template_array, faculty_template_count, File::file_get_short(), File::file_read(), and init_flag.

void FacultyRes::report int    refreshFlag
 

Display Stock Ownership Report

<int> refreshFlag = INFO_REPAINT or INFO_UPDATE

Definition at line 102 of file Ofac_rep.cpp.

References BG_PIC_ID, INFO_REPAINT, REPORT_TYPE_LIST, REPORT_X1, and REPORT_Y1.

Referenced by summary_report_5().

void FacultyRes::report_detect  
 

Definition at line 381 of file Ofac_rep.cpp.

References ButtonGroup::button_pressed, ButtonGroup::detect(), REPORT_TYPE_DETAIL, and REPORT_TYPE_LIST.

void FacultyRes::summary_report int    refreshFlag
 

<int> refreshFlag = INFO_REPAINT or INFO_UPDATE

Definition at line 2970 of file Ofac_sum.cpp.

References REPORT_MODE_DEPARTMENT, and REPORT_TYPE_DEPARTMENT_PROFILE1.

void FacultyRes::summary_report_1 int    refreshFlag
 

Definition at line 336 of file Ofac_sum.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, current_report_type, Department::faculty_array, Department::faculty_level_history, DynArray::get(), INFO_REPAINT, GraphPerformanceIndicatorYear::init(), PieChart::init(), FacultyArray::is_deleted(), MAX_STUDENT_LEVEL_N_TOTAL, NULL, ButtonGroup::paint(), GraphPerformanceIndicatorYear::paint(), Faculty::rank_level, GraphPerformanceIndicatorYear::refresh(), PieChart::refresh(), REPORT_MODE_DEPARTMENT, REPORT_X1, REPORT_X2, REPORT_Y1, Faculty::salary, PieChart::series_color, DynArray::size(), summary_report_deinit(), TAB1, TAB2, TAB3, TAB4, TAB5, TAB6, VTAB1, VTAB4, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_2 int    refreshFlag
 

Definition at line 776 of file Ofac_sum.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, current_report_type, Department::faculty_array, Department::faculty_gender_history, Faculty::gender_ethnic_group, GENDER_ETHNIC_TYPE_COUNT_N_TOTAL, INFO_REPAINT, GraphPerformanceIndicatorYear::init(), PieChart::init(), NULL, ButtonGroup::paint(), GraphPerformanceIndicatorYear::paint(), PieChart::refresh(), GraphPerformanceIndicatorYear::refresh(), REPORT_MODE_DEPARTMENT, REPORT_X1, REPORT_X2, REPORT_Y1, Faculty::salary, PieChart::series_color, DynArray::size(), summary_report_deinit(), TAB1, TAB2, TAB3, TAB4, TAB5, TAB6, VTAB1, VTAB4, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_3 int    refreshFlag
 

Definition at line 1210 of file Ofac_sum.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, current_report_type, FacultyArray::discretionary_hour_array, DISCRETIONARY_TYPE_COUNT_N_TOTAL, err_when, Department::faculty_array, INFO_REPAINT, ValueSlider::init(), GraphPerformanceIndicatorMonth::init(), GraphPerformanceIndicatorTrimester::init(), Department::p_faculty_morale_history, GraphPerformanceIndicatorMonth::paint(), GraphPerformanceIndicatorTrimester::paint(), ButtonGroup::paint(), FacultyArray::performance_research, FacultyArray::performance_scholarship, FacultyArray::performance_teaching, Department::pressure_to_change_teaching_load, Department::priority_discretionary_hour_array, Text::put(), ValueSlider::refresh(), GraphPerformanceIndicatorMonth::refresh(), GraphPerformanceIndicatorTrimester::refresh(), Text::refresh(), REPORT_MODE_DEPARTMENT, REPORT_X1, REPORT_Y1, summary_report_deinit(), FacultyArray::talent_research, FacultyArray::talent_scholarship, FacultyArray::talent_teaching, FacultyArray::teaching_contact_hour, V_YELLOW, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_4 int    refreshFlag
 

Definition at line 1789 of file Ofac_sum.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, current_report_type, INFO_REPAINT, GraphMonth::init(), GraphDoubleBarYear::init(), GraphDoubleBarMonth::init(), MONTHLY, NULL, ButtonGroup::paint(), GraphMonth::paint(), GraphDoubleBarYear::paint(), GraphDoubleBarMonth::paint(), Text::put(), GraphMonth::refresh(), GraphDoubleBarYear::refresh(), GraphDoubleBarMonth::refresh(), Text::refresh(), Department::regular_faculty_with_research, REPORT_MODE_DEPARTMENT, REPORT_X1, REPORT_Y1, Department::research_direct_history, Department::research_m_history, RESEARCH_STATUS_COUNT, Department::research_total_history, Department::research_y_history, GraphDoubleBarYear::series_color, GraphDoubleBarMonth::series_color, summary_report_deinit(), ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_5 int    refreshFlag
 

Definition at line 2088 of file Ofac_sum.cpp.

References Button::create_text(), INFO_REPAINT, Button::paint(), report(), REPORT_X1, REPORT_Y1, REPORT_Y2, summary_report_deinit(), ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_6 int    refreshFlag
 

Definition at line 2107 of file Ofac_sum.cpp.

References Department::assistant_professor_priority, BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, Department::cost_containment_priority, current_report_type, Department::female_faculty_priority, INFO_REPAINT, RadioButton::init(), Department::longterm_adjunct_faculty_priority, Department::minority_faculty_priority, NULL, ButtonGroup::paint(), RadioButton::refresh(), REPORT_X1, REPORT_Y1, Department::research_talent_priority, Department::scholarship_talent_priority, Department::shortterm_adjunct_faculty_priority, summary_report_deinit(), Department::teaching_talent_priority, Department::tenured_faculty_priority, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_7 int    refreshFlag
 

Definition at line 2228 of file Ofac_sum.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, current_report_type, Department::dept_salary_multiplier, INFO_REPAINT, GraphPerformanceIndicatorYear::init(), ValueSlider::init(), String::len(), MAX_DEPARTMENT, Department::name(), ButtonGroup::paint(), GraphPerformanceIndicatorYear::paint(), Text::put(), GraphPerformanceIndicatorYear::refresh(), ValueSlider::refresh(), REPORT_X1, REPORT_Y1, String::str_buf, summary_report_deinit(), V_YELLOW, ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_8 int    refreshFlag
 

Definition at line 2475 of file Ofac_sum.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, current_report_type, INFO_REPAINT, RadioButton::init(), NULL, ButtonGroup::paint(), RadioButton::refresh(), REPORT_X1, REPORT_Y1, summary_report_deinit(), ZOOM_X1, ZOOM_X2, ZOOM_Y1, and ZOOM_Y2.

void FacultyRes::summary_report_deinit  
 

Definition at line 3398 of file Ofac_sum.cpp.

References Button::deinit(), GraphPerformanceIndicatorMonth::deinit(), Text::deinit(), GraphDoubleBarMonth::deinit(), GraphDoubleBarYear::deinit(), GraphMonth::deinit(), GraphPerformanceIndicatorYear::deinit(), ValueSlider::deinit(), GraphPerformanceIndicatorTrimester::deinit(), RadioButton::deinit(), PieChart::deinit(), ButtonGroup::deinit_buttons(), MAX_DEPARTMENT, mem_del, and NULL.

Referenced by deinit(), summary_report_1(), summary_report_2(), summary_report_3(), summary_report_4(), summary_report_5(), summary_report_6(), summary_report_7(), and summary_report_8().

int FacultyRes::summary_report_detect  
 

Definition at line 3054 of file Ofac_sum.cpp.

int FacultyRes::write_file File   filePtr
 

Definition at line 93 of file OGFILE3.CPP.

References err_when, faculty_template_array, faculty_template_count, File::file_put_short(), File::file_write(), and init_flag.


Member Data Documentation

int FacultyRes::current_report_type
 

Definition at line 127 of file Ofacures.h.

Referenced by summary_report_1(), summary_report_2(), summary_report_3(), summary_report_4(), summary_report_6(), summary_report_7(), and summary_report_8().

FacultyTemplate* FacultyRes::faculty_template_array
 

Definition at line 91 of file Ofacures.h.

Referenced by read_file(), and write_file().

short FacultyRes::faculty_template_count
 

Definition at line 90 of file Ofacures.h.

Referenced by deinit(), read_file(), and write_file().

char FacultyRes::init_flag
 

Definition at line 83 of file Ofacures.h.

Referenced by deinit(), read_file(), and write_file().

int FacultyRes::report_det_mode
 

Definition at line 86 of file Ofacures.h.

int FacultyRes::report_faculty_recno
 

Definition at line 87 of file Ofacures.h.

int FacultyRes::report_list_mode
 

Definition at line 85 of file Ofacures.h.

int FacultyRes::report_research_recno
 

Definition at line 88 of file Ofacures.h.

int FacultyRes::report_type
 

Definition at line 84 of file Ofacures.h.

float FacultyRes::unused_faculty_count_array[GENDER_ETHNIC_TYPE_COUNT]
 

Definition at line 110 of file Ofacures.h.


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