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

Public Member Functions

 db_helper ()
 
 ~db_helper ()
 
bool runSQL (string s)
 
float getFloat (string s)
 
int getInt (string s)
 

Public Attributes

sql::Driver * driver
 
sql::Connection * con
 
sql::Statement * stmt
 
sql::ResultSet * res
 
sql::ResultSet * res2
 
sql::PreparedStatement * pstmt
 
string db = "efp"
 

Detailed Description

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

Constructor & Destructor Documentation

db_helper::db_helper ( )

Definition at line 40 of file db_helper.class.cpp.

db_helper::~db_helper ( )

Definition at line 91 of file db_helper.class.cpp.

Member Function Documentation

float db_helper::getFloat ( string  s)
inline

getString returning a float

Definition at line 142 of file db_helper.class.cpp.

int db_helper::getInt ( string  s)
inline

getString returning an int

Definition at line 150 of file db_helper.class.cpp.

bool db_helper::runSQL ( string  s)

Definition at line 102 of file db_helper.class.cpp.

Member Data Documentation

sql::Connection* db_helper::con

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

string db_helper::db = "efp"

Definition at line 25 of file db_helper.class.cpp.

sql::Driver* db_helper::driver

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

sql::PreparedStatement* db_helper::pstmt

Definition at line 20 of file db_helper.class.cpp.

sql::ResultSet* db_helper::res

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

sql::ResultSet* db_helper::res2

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

sql::Statement* db_helper::stmt

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


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