eFinancialPlanner  V1.0 (proof of concept)
Personal Financial Planning based on Maslowian Portfolio Theory
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
bona Class Reference
Inheritance diagram for bona:
cash_flow goal

Public Member Functions

void list (int iid, bool editable=true)
 
bool save ()
 
void show (bool editable=true)
 
void show_edit_form (int iid, bool showExisting=false)
 
bool delete_bona ()
 
bool exists ()
 
bool load_fromEnv ()
 
bool load_fromDB ()
 

Public Attributes

std::map< int, columntbl
 
string tbl_name = oConfig.tbl_prefix + "_assets"
 
string class_name = ""
 
string action_ref
 
std::map< string, int > defList
 list holding the column names in the table connected to the correct id of the column More...
 

Protected Attributes

string order_by = ""
 should be the column name eventually followed by DESC/ASC, eg. "priority ASC" More...
 

Private Member Functions

bool verify ()
 
void load_fromRecordSet ()
 
void show_th (bool editable)
 
void show_tc ()
 
string s_get (string lbl)
 
float f_get (string lbl)
 
int i_get (string lbl)
 
struct tm d_get (string lbl)
 

Detailed Description

Definition at line 11 of file bona.class.cpp.

Member Function Documentation

struct tm bona::d_get ( string  lbl)
private

Definition at line 411 of file bona.class.cpp.

bool bona::delete_bona ( )

Definition at line 350 of file bona.class.cpp.

bool bona::exists ( )

Definition at line 382 of file bona.class.cpp.

float bona::f_get ( string  lbl)
private

Definition at line 409 of file bona.class.cpp.

int bona::i_get ( string  lbl)
private

Definition at line 410 of file bona.class.cpp.

void bona::list ( int  iid,
bool  editable = true 
)

void list(int investor_id);

to trigger the scripts to fill out the dates and provide the date-picker

so javascripts can check if this exists to know if they are in the cash flow screen

Definition at line 157 of file bona.class.cpp.

bool bona::load_fromDB ( )

Definition at line 44 of file bona.class.cpp.

bool bona::load_fromEnv ( )

Definition at line 336 of file bona.class.cpp.

void bona::load_fromRecordSet ( )
private

Definition at line 60 of file bona.class.cpp.

string bona::s_get ( string  lbl)
private

Definition at line 408 of file bona.class.cpp.

bool bona::save ( )

Definition at line 276 of file bona.class.cpp.

void bona::show ( bool  editable = true)

Definition at line 234 of file bona.class.cpp.

void bona::show_edit_form ( int  iid,
bool  showExisting = false 
)

to trigger the scripts to fill out the dates and provide the date-picker

Definition at line 108 of file bona.class.cpp.

void bona::show_tc ( )
private

Definition at line 100 of file bona.class.cpp.

void bona::show_th ( bool  editable)
private

Definition at line 71 of file bona.class.cpp.

bool bona::verify ( )
private

Definition at line 369 of file bona.class.cpp.

Member Data Documentation

string bona::action_ref

Definition at line 17 of file bona.class.cpp.

string bona::class_name = ""

Definition at line 16 of file bona.class.cpp.

std::map<string, int> bona::defList

list holding the column names in the table connected to the correct id of the column

Definition at line 26 of file bona.class.cpp.

string bona::order_by = ""
protected

should be the column name eventually followed by DESC/ASC, eg. "priority ASC"

Definition at line 28 of file bona.class.cpp.

std::map<int, column> bona::tbl

Definition at line 14 of file bona.class.cpp.

string bona::tbl_name = oConfig.tbl_prefix + "_assets"

Definition at line 15 of file bona.class.cpp.


The documentation for this class was generated from the following file: