SpikeStream Library
0.2
|
#include <NetworkInfo.h>
Public Member Functions | |
NetworkInfo () | |
NetworkInfo (unsigned int id, const QString &name, const QString &desc) | |
NetworkInfo (const NetworkInfo &netInfo) | |
~NetworkInfo () | |
NetworkInfo & | operator= (const NetworkInfo &rhs) |
unsigned int | getID () |
QString | getDescription () |
QString | getName () |
void | setID (unsigned int id) |
void | setName (const QString &name) |
void | setDescription (const QString &description) |
Holds information about a particular network. Corresponds to the Network table in the SpikeStreamNetwork database.
Definition at line 11 of file NetworkInfo.h.
Empty constructor
Definition at line 20 of file NetworkInfo.cpp.
NetworkInfo::NetworkInfo | ( | unsigned int | id, |
const QString & | name, | ||
const QString & | desc | ||
) |
Normal constructor
Definition at line 8 of file NetworkInfo.cpp.
NetworkInfo::NetworkInfo | ( | const NetworkInfo & | netInfo | ) |
Copy constructor
Definition at line 28 of file NetworkInfo.cpp.
Destructor
Definition at line 36 of file NetworkInfo.cpp.
QString spikestream::NetworkInfo::getDescription | ( | ) | [inline] |
Definition at line 20 of file NetworkInfo.h.
unsigned int spikestream::NetworkInfo::getID | ( | ) | [inline] |
Definition at line 19 of file NetworkInfo.h.
QString spikestream::NetworkInfo::getName | ( | ) | [inline] |
Definition at line 21 of file NetworkInfo.h.
NetworkInfo & NetworkInfo::operator= | ( | const NetworkInfo & | rhs | ) |
Assignment operator.
Definition at line 45 of file NetworkInfo.cpp.
void spikestream::NetworkInfo::setDescription | ( | const QString & | description | ) | [inline] |
Definition at line 24 of file NetworkInfo.h.
void spikestream::NetworkInfo::setID | ( | unsigned int | id | ) | [inline] |
Definition at line 22 of file NetworkInfo.h.
void spikestream::NetworkInfo::setName | ( | const QString & | name | ) | [inline] |
Definition at line 23 of file NetworkInfo.h.