eFinancialPlanner
V1.0 (proof of concept)
Personal Financial Planning based on Maslowian Portfolio Theory
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
follow_up.class.cpp
Go to the documentation of this file.
1
7
class
follow_up
:
public
simulation
8
{
9
public
:
10
follow_up
(
int
investor
);
11
void
parse_dashboard
();
12
};
13
17
follow_up::follow_up
(
int
investor
)
18
:
simulation
(investor)
19
{
20
//cout << ""; ///< this constructor does nothing more than launching the previous class' constructor
21
}
22
26
void
follow_up::parse_dashboard
()
27
{
28
int
g;
29
cout <<
"<div class=\"alert alert-info\">"
;
30
cout <<
"<h3>"
<<
t_dashboard
<<
" at "
<<
mNbr2dateStr
(
get_nbrMonths2simulate
()) <<
"</h3>"
;
31
cout <<
"<table border=\"1\" class=\"followupDash\">"
;
32
cout <<
"<tr><th>Nr.</th><th>Priority</th><th>Description</th><th>Previous color at "
<<
mNbr2dateStr
(0) <<
"</th>"
;
33
cout <<
"<th>New Color at "
<<
mNbr2dateStr
(
get_nbrMonths2simulate
()) <<
" or at goal-realization</th></tr>"
;
34
for
(g = 1; g <=
get_nbr_goals
(); g++)
35
{
36
cout <<
"<tr>"
;
37
cout <<
"<td>"
<< g <<
"</td>"
;
38
cout <<
"<td>"
<< this->
goalZ
[g].priority <<
"</td>"
;
39
cout <<
"<td>"
<< this->
goalZ
[g].description <<
"</td>"
;
40
cout <<
"<td class=\""
<<
hh
.
get_box_color_class
(this->
goalZ
[g].color) <<
"\">"
<<
hh
.
get_glyphicon
(this->
goalZ
[g].color) <<
"</td>"
;
41
cout <<
"<td class=\""
<<
hh
.
get_box_color_class
(this->
goalZ
[g].color_followup) <<
"\">"
<<
hh
.
get_glyphicon
(this->
goalZ
[g].color_followup) <<
"</td>"
;
42
cout <<
"</tr>"
;
43
}
44
cout <<
"</table>"
<<
"</div>"
<< endl;
45
}
46
47
follow_up::follow_up
follow_up(int investor)
Definition:
follow_up.class.cpp:17
t_dashboard
const string t_dashboard
Definition:
texts_Eng_UK.h:163
simulation::get_nbrMonths2simulate
int get_nbrMonths2simulate()
returns the number of months to simulate as in "37"
Definition:
simulation.class.cpp:259
investment_problem::get_nbr_goals
int get_nbr_goals()
Definition:
investment_problem.class.cpp:936
simulation
Definition:
simulation.class.cpp:12
follow_up::parse_dashboard
void parse_dashboard()
Definition:
follow_up.class.cpp:26
investor
Definition:
investor.class.cpp:11
hh
html_helper hh
own c++ classes
Definition:
efp.cpp:180
follow_up
Definition:
follow_up.class.cpp:7
html_helper::get_box_color_class
string get_box_color_class(string the_color)
Definition:
html_helper.class.cpp:1246
html_helper::get_glyphicon
string get_glyphicon(string the_color)
Definition:
html_helper.class.cpp:1261
investment_problem::goalZ
std::map< int, aGOAL > goalZ
map containing all goals
Definition:
investment_problem.class.cpp:22
mNbr2dateStr
string mNbr2dateStr(int monthNbr=0)
Definition:
global_functions.h:85
follow_up.class.cpp
Generated on Wed Nov 18 2015 22:59:22 for eFinancialPlanner.eu by
1.8.6