eFinancialPlanner  V1.0 (proof of concept)
Personal Financial Planning based on Maslowian Portfolio Theory
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
asset Class Reference

Public Member Functions

bool set_asset_id (const std::string &s)
 
bool set_investor (const std::string &s)
 
bool set_asset_class (const std::string &s)
 
bool set_description (const std::string &s)
 
bool set_currency (const std::string &s)
 
bool set_amount (const std::string &s)
 
void list_assets (int iid)
 
void show_edit_form (int iid)
 
bool load ()
 
bool save ()
 
bool asset_delete ()
 

Public Attributes

int asset_id
 
int investor
 
int asset_class
 
string description
 
string currency
 
float amount
 

Private Member Functions

bool exists (int aid)
 

Detailed Description

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

Member Function Documentation

bool asset::asset_delete ( )

Definition at line 267 of file asset.class.cpp.

bool asset::exists ( int  aid)
private

Definition at line 257 of file asset.class.cpp.

void asset::list_assets ( int  iid)

Definition at line 104 of file asset.class.cpp.

bool asset::load ( )

Definition at line 42 of file asset.class.cpp.

bool asset::save ( )

Definition at line 230 of file asset.class.cpp.

bool asset::set_amount ( const std::string &  s)

Definition at line 204 of file asset.class.cpp.

bool asset::set_asset_class ( const std::string &  s)

Definition at line 190 of file asset.class.cpp.

bool asset::set_asset_id ( const std::string &  s)

set_investor

Definition at line 148 of file asset.class.cpp.

bool asset::set_currency ( const std::string &  s)

Definition at line 218 of file asset.class.cpp.

bool asset::set_description ( const std::string &  s)

Definition at line 178 of file asset.class.cpp.

bool asset::set_investor ( const std::string &  s)

Definition at line 163 of file asset.class.cpp.

void asset::show_edit_form ( int  iid)

Definition at line 63 of file asset.class.cpp.

Member Data Documentation

float asset::amount

Definition at line 19 of file asset.class.cpp.

int asset::asset_class

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

int asset::asset_id

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

string asset::currency

Definition at line 18 of file asset.class.cpp.

string asset::description

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

int asset::investor

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


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