eFinancialPlanner  V1.0 (proof of concept)
Personal Financial Planning based on Maslowian Portfolio Theory
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
config.class.cpp
Go to the documentation of this file.
1 
10 class config
11 {
12 public:
13 
15  char layout = '2';
16  char language = '1';
17  bool show_aside = false;
18  char font_combination = '5';
19  const bool parse_wrapper = false;
20  const string wrapper_name = "eFinancialPlanner";
21  const string wrapper_url = "https://eFinancialPlanner.eu";
22  const string soft_name = "Goal Ranking 1";
23  const string soft_version = "V0.4.0";
24  std::vector<int> total_portf_monthNbrs = {1};
25  const bool show_social = false;
26  const bool merge_ER_vol = true;
27  const bool simul_show_table = false;
28 
30  string riskFunction = "VaR";
31 
33  const string db_host = "tcp://127.0.0.1:3306";
34  const string db_name = "efp";
35  const string db_user = "efp";
36  const string db_pwd = "efp.cger";
37  const string tbl_prefix = "pfp3";
38 
39 
41  const string soft_file = "pfp5.cgi";
42 
43 #define LOCAL
44 #ifdef LOCAL
45  const string soft_server_url = "https://localhost";
46  const string www_dir = "/efp/";
47  const string img_dir = "/efp/img/";
48  const string css_dir = "/efp/style/";
49  const string soft_dir = "/cgi-bin/";
50  const string scripts_dir = "/efp/scripts/";
51 #else
52  const string soft_server_url = "https://www.phdb.nazwa.pl";
53  const string soft_dir = "/cgi-bin/";
54  const string www_dir = "/";
55  const string img_dir = "/img/";
56  const string css_dir = "../style/";
57  const string scripts_dir = "../scripts/";
58 #endif
59  string soft_url = this->soft_server_url + this->soft_dir + this->soft_file;
60 };
bool show_aside
whether or not to show the side-box
string soft_url
const bool parse_wrapper
true will turn of the rendering of the menu related to the soft_server_url
const bool simul_show_table
true if we show the table of E[R] and vol in the simulation-overview
const string db_host
Database.
const string css_dir
const string scripts_dir
char font_combination
1=Corben&Nobile, 2=Droid (Serif and Sans), d = default (non-google fonts), 3=Ubuntu+Sans, 4=Ubuntu+Vollkorn, 5=handwritten+sans, 6 = handrwitten titles+serif! (pref 3 and 5)
const string db_user
const string img_dir
const string wrapper_url
const string soft_dir
this is the directory used by the webserver to locate the software (not the physical location) ...
const bool show_social
const string tbl_prefix
tables start with "" + oConfig.tbl_prefix + "_" if the prefix is eg. "tbl" then we have "tbl_invesotr...
const string soft_version
string riskFunction
Math.
const string wrapper_name
const string db_name
const bool merge_ER_vol
true to show ER and vol together in one table in the "Personalize" screen
const string soft_name
const string soft_file
Apache relevant parameters.
std::vector< int > total_portf_monthNbrs
the month numbers used to show the total portfolio composition
const string www_dir
const string db_pwd
const string soft_server_url
char language
1=UK English
char layout
Presentation.