cDBInterface class Reference #include <cdbinterface.h> Inheritance diagram for cDBInterface
Inheritance graph
Collaboration diagram for cDBInterface
Collaboration graph
Protected Attributes bool m_bConnected
cDBInterface ( )Constructor. virtual ~cDBInterface ( )Destructor. virtual bool connect ( )Opens a connection to the database. virtual bool init ( )Initializes the module with default values. bool connected ( )Returns the current connection status. QString lastError ( )Returns the last error message of the last operation.
Detailed Description This class implements basic interface functionality for all Kooky database connector plugins. All functions may be overwritten by derriving classes. Note: Author: Herwig Birke Version: 1.0 Date: 2016/02/09 Definition at line 35 of file cdbinterface.h The Documentation for this struct was generated from the following file: cdbinterface.h
Member Data Documentation bool cDBInterface::m_bConnected holds the current connection status. Definition at line 79 of file cdbinterface.h The Documentation for this struct was generated from the following file: cdbinterface.h
virtual bool cDBInterface::connect ()=0 Note: This function must be derived by the subclass. Returns: bool true on success, false otherwise.
virtual bool cDBInterface::init ()=0 Note: This function must be derived by the subclass. Returns: bool true on success, false otherwise.
bool cDBInterface::connected () Note: This function must be derived by the subclass. Returns: bool true if connected, false otherwise.
QString cDBInterface::lastError () Returns: QString error message of the last operation.