SpikeStream Library
0.2
|
#include <DBInfo.h>
Public Member Functions | |
DBInfo (QString host, QString user, QString password, QString database) | |
DBInfo () | |
DBInfo (const DBInfo &dbInfo) | |
~DBInfo () | |
DBInfo & | operator= (const DBInfo &rhs) |
QString | toString () const |
QString | getHost () const |
QString | getUser () const |
QString | getPassword () const |
QString | getDatabase () const |
void | setHost (const QString &host) |
void | setUser (const QString &user) |
void | setPassword (const QString &password) |
void | setDatabase (const QString &database) |
Static Public Attributes | |
static QString | UNDEFINED = "undefined" |
DBInfo::DBInfo | ( | QString | host, |
QString | user, | ||
QString | password, | ||
QString | database | ||
) |
Normal constructor
Definition at line 9 of file DBInfo.cpp.
DBInfo::DBInfo | ( | ) |
Empty constructor
Definition at line 18 of file DBInfo.cpp.
DBInfo::DBInfo | ( | const DBInfo & | dbInfo | ) |
Copy constructor
Definition at line 27 of file DBInfo.cpp.
DBInfo::~DBInfo | ( | ) |
Destructor
Definition at line 36 of file DBInfo.cpp.
QString spikestream::DBInfo::getDatabase | ( | ) | const [inline] |
QString spikestream::DBInfo::getHost | ( | ) | const [inline] |
QString spikestream::DBInfo::getPassword | ( | ) | const [inline] |
QString spikestream::DBInfo::getUser | ( | ) | const [inline] |
Assignment operator.
Definition at line 45 of file DBInfo.cpp.
void spikestream::DBInfo::setDatabase | ( | const QString & | database | ) | [inline] |
void spikestream::DBInfo::setHost | ( | const QString & | host | ) | [inline] |
void spikestream::DBInfo::setPassword | ( | const QString & | password | ) | [inline] |
void spikestream::DBInfo::setUser | ( | const QString & | user | ) | [inline] |
QString DBInfo::toString | ( | ) | const |
Returns a string representation of the database information
Definition at line 60 of file DBInfo.cpp.
QString DBInfo::UNDEFINED = "undefined" [static] |