SpikeStream Library  0.2
spikestream::DBInfo Class Reference

#include <DBInfo.h>

List of all members.

Public Member Functions

 DBInfo (QString host, QString user, QString password, QString database)
 DBInfo ()
 DBInfo (const DBInfo &dbInfo)
 ~DBInfo ()
DBInfooperator= (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"

Detailed Description

Holds information about a database.

Definition at line 10 of file DBInfo.h.


Constructor & Destructor Documentation

DBInfo::DBInfo ( QString  host,
QString  user,
QString  password,
QString  database 
)

Normal constructor

Definition at line 9 of file DBInfo.cpp.

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.

Destructor

Definition at line 36 of file DBInfo.cpp.


Member Function Documentation

QString spikestream::DBInfo::getDatabase ( ) const [inline]

Definition at line 22 of file DBInfo.h.

QString spikestream::DBInfo::getHost ( ) const [inline]

Definition at line 19 of file DBInfo.h.

QString spikestream::DBInfo::getPassword ( ) const [inline]

Definition at line 21 of file DBInfo.h.

QString spikestream::DBInfo::getUser ( ) const [inline]

Definition at line 20 of file DBInfo.h.

DBInfo & DBInfo::operator= ( const DBInfo rhs)

Assignment operator.

Definition at line 45 of file DBInfo.cpp.

void spikestream::DBInfo::setDatabase ( const QString &  database) [inline]

Definition at line 27 of file DBInfo.h.

void spikestream::DBInfo::setHost ( const QString &  host) [inline]

Definition at line 24 of file DBInfo.h.

void spikestream::DBInfo::setPassword ( const QString &  password) [inline]

Definition at line 26 of file DBInfo.h.

void spikestream::DBInfo::setUser ( const QString &  user) [inline]

Definition at line 25 of file DBInfo.h.

QString DBInfo::toString ( ) const

Returns a string representation of the database information

Definition at line 60 of file DBInfo.cpp.


Member Data Documentation

QString DBInfo::UNDEFINED = "undefined" [static]

Definition at line 29 of file DBInfo.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Defines