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

Password:

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

Investment Class Reference

#include <Oinvest.h>

List of all members.

Public Methods

 Investment ()
 ~Investment ()
void init ()
void deinit ()
void report (int)
int detect ()
int detect2 ()
int write_file (File *filePtr)
int read_file (File *filePtr)
void init_data ()
void next_day ()
void calc_smoothed_endowment_value ()

Public Attributes

char current_mode
AssetItem asset_array [ASSET_TYPE_COUNT]
float spinner_var1
float endowment_performance_history [HISTORY_MONTH_COUNT]
float s_n_p_history [HISTORY_MONTH_COUNT]
int endowment_spending_history [PROJECTION_TYPE_COUNT][P_HISTORY_YEAR_COUNT]
float equilibrium_payout_rate
char degree_smoothing_for_endowment_payout
float smoothed_endowment_value
float endowment_change_year_to_date
float expected_real_annual_return_rate


Detailed Description

Class used to simulate investments as specified in the financial model. Includes methods for tracking performance, growth, history, expectations, and supports reporting and loading/saving.

Definition at line 52 of file Oinvest.h.


Constructor & Destructor Documentation

Investment::Investment  
 

Definition at line 305 of file Oinve_if.cpp.

Investment::~Investment  
 

Definition at line 313 of file Oinve_if.cpp.


Member Function Documentation

void Investment::calc_smoothed_endowment_value  
 

refer to email req25.txt

Definition at line 446 of file Oinve_st.cpp.

References AC_ENDOWMENT.

void Investment::deinit  
 

Definition at line 321 of file Oinve_if.cpp.

References NULL.

int Investment::detect void   
 

return value: 0-not detected, 1-detected

Definition at line 442 of file Oinve_if.cpp.

int Investment::detect2  
 

return value: 0-not detected, 1-detected

Definition at line 458 of file Oinve_if.cpp.

void Investment::init  
 

Definition at line 353 of file Oinve_if.cpp.

References NULL.

void Investment::init_data  
 

Definition at line 30 of file Oinve_st.cpp.

References AS_BONDS, AS_LC_STOCK, AS_SC_STOCK, and ASSET_TYPE_COUNT.

void Investment::next_day  
 

desc

Definition at line 339 of file Oinve_st.cpp.

int Investment::read_file File   filePtr
 

Definition at line 432 of file OGFILE3.CPP.

References File::file_read().

void Investment::report int   
 

Definition at line 374 of file Oinve_if.cpp.

References BG_PIC_ID, BOTTOM_BUTTON_DISTANCE, BOTTOM_BUTTON_HEIGHT, BOTTOM_BUTTON_WIDTH, BOTTOM_BUTTON_X1, BOTTOM_BUTTON_Y1, and INFO_REPAINT.

int Investment::write_file File   filePtr
 

Definition at line 428 of file OGFILE3.CPP.

References File::file_write().


Member Data Documentation

AssetItem Investment::asset_array[ASSET_TYPE_COUNT]
 

Definition at line 74 of file Oinvest.h.

char Investment::current_mode
 

Definition at line 64 of file Oinvest.h.

char Investment::degree_smoothing_for_endowment_payout
 

Definition at line 92 of file Oinvest.h.

float Investment::endowment_change_year_to_date
 

Definition at line 97 of file Oinvest.h.

float Investment::endowment_performance_history[HISTORY_MONTH_COUNT]
 

Definition at line 79 of file Oinvest.h.

int Investment::endowment_spending_history[PROJECTION_TYPE_COUNT][P_HISTORY_YEAR_COUNT]
 

Definition at line 85 of file Oinvest.h.

float Investment::equilibrium_payout_rate
 

Definition at line 86 of file Oinvest.h.

float Investment::expected_real_annual_return_rate
 

Definition at line 121 of file Oinvest.h.

float Investment::s_n_p_history[HISTORY_MONTH_COUNT]
 

Definition at line 80 of file Oinvest.h.

float Investment::smoothed_endowment_value
 

Definition at line 96 of file Oinvest.h.

float Investment::spinner_var1
 

Definition at line 77 of file Oinvest.h.


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