Bank System
CommandTranslator Class Reference

#include <commandtranslator.h>

Collaboration diagram for CommandTranslator:
Collaboration graph

Public Member Functions

 CommandTranslator ()
 
bool indexCheck (int num)
 
void invalidCommandSkiper (int cmd_index, fstream cmd)
 
void withdrawGUI (string cmd_username, int cmd_index, double cmd_amount, string cmd_desc)
 
void depositeGUI (string cmd_username, int cmd_index, double cmd_amount, string cmd_desc)
 
void showMessageBox (QString m_msg)
 
void createSavingsAccountGUI (string cmd_username, string cmd_acc_name, double cmd_rate)
 
void createCreditAccountGUI (string cmd_username, string cmd_acc_name, double cmd_credit, double cmd_rate, double cmd_annual_fee)
 
void dateChangeGUI (string cmd_username, int cmd_year, int cmd_month, int cmd_day)
 

Constructor & Destructor Documentation

◆ CommandTranslator()

CommandTranslator::CommandTranslator ( )

Member Function Documentation

◆ createCreditAccountGUI()

void CommandTranslator::createCreditAccountGUI ( string  cmd_username,
string  cmd_acc_name,
double  cmd_credit,
double  cmd_rate,
double  cmd_annual_fee 
)
Here is the call graph for this function:

◆ createSavingsAccountGUI()

void CommandTranslator::createSavingsAccountGUI ( string  cmd_username,
string  cmd_acc_name,
double  cmd_rate 
)
Here is the call graph for this function:

◆ dateChangeGUI()

void CommandTranslator::dateChangeGUI ( string  cmd_username,
int  cmd_year,
int  cmd_month,
int  cmd_day 
)

◆ depositeGUI()

void CommandTranslator::depositeGUI ( string  cmd_username,
int  cmd_index,
double  cmd_amount,
string  cmd_desc 
)
Here is the call graph for this function:

◆ indexCheck()

bool CommandTranslator::indexCheck ( int  num)

◆ invalidCommandSkiper()

void CommandTranslator::invalidCommandSkiper ( int  cmd_index,
fstream  cmd 
)
Here is the call graph for this function:

◆ showMessageBox()

void CommandTranslator::showMessageBox ( QString  m_msg)

◆ withdrawGUI()

void CommandTranslator::withdrawGUI ( string  cmd_username,
int  cmd_index,
double  cmd_amount,
string  cmd_desc 
)
Here is the call graph for this function:

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