SpikeStream Library
0.2
|
#include <ConnectionGroupInfo.h>
Public Member Functions | |
ConnectionGroupInfo () | |
ConnectionGroupInfo (unsigned int id, const QString &desc, unsigned int fromID, unsigned int toID, QHash< QString, double > paramMap, const SynapseType &synapseType) | |
ConnectionGroupInfo (const ConnectionGroupInfo &conGrpInfo) | |
~ConnectionGroupInfo () | |
ConnectionGroupInfo & | operator= (const ConnectionGroupInfo &rhs) |
unsigned int | getID () const |
QString | getDescription () const |
unsigned int | getFromNeuronGroupID () const |
unsigned int | getToNeuronGroupID () const |
SynapseType | getSynapseType () |
unsigned int | getSynapseTypeID () const |
double | getParameter (const QString ¶meterName) |
QHash< QString, double > | getParameterMap () |
QString | getParameterXML () |
bool | hasParameter (const QString ¶meterName) |
void | setDescription (const QString &description) |
void | setFromNeuronGroupID (unsigned id) |
void | setToNeuronGroupID (unsigned id) |
void | setID (unsigned int id) |
Holds information about a connection group as stored in the ConnectionGroup table of the SpikeStreamNetwork database
Definition at line 15 of file ConnectionGroupInfo.h.
Empty constructor
Definition at line 9 of file ConnectionGroupInfo.cpp.
ConnectionGroupInfo::ConnectionGroupInfo | ( | unsigned int | id, |
const QString & | desc, | ||
unsigned int | fromID, | ||
unsigned int | toID, | ||
QHash< QString, double > | paramMap, | ||
const SynapseType & | synapseType | ||
) |
Standard constructor
Definition at line 18 of file ConnectionGroupInfo.cpp.
ConnectionGroupInfo::ConnectionGroupInfo | ( | const ConnectionGroupInfo & | conGrpInfo | ) |
Copy constructor
Definition at line 33 of file ConnectionGroupInfo.cpp.
Destructor
Definition at line 44 of file ConnectionGroupInfo.cpp.
QString spikestream::ConnectionGroupInfo::getDescription | ( | ) | const [inline] |
Definition at line 24 of file ConnectionGroupInfo.h.
unsigned int spikestream::ConnectionGroupInfo::getFromNeuronGroupID | ( | ) | const [inline] |
Definition at line 25 of file ConnectionGroupInfo.h.
unsigned int spikestream::ConnectionGroupInfo::getID | ( | ) | const [inline] |
Definition at line 23 of file ConnectionGroupInfo.h.
double ConnectionGroupInfo::getParameter | ( | const QString & | parameterName | ) |
Returns the parameter requested or throws an exception if it does not exist
Definition at line 70 of file ConnectionGroupInfo.cpp.
QHash<QString, double> spikestream::ConnectionGroupInfo::getParameterMap | ( | ) | [inline] |
Definition at line 30 of file ConnectionGroupInfo.h.
QString ConnectionGroupInfo::getParameterXML | ( | ) |
Returns the parameters as an XML string
Definition at line 78 of file ConnectionGroupInfo.cpp.
Definition at line 27 of file ConnectionGroupInfo.h.
unsigned int spikestream::ConnectionGroupInfo::getSynapseTypeID | ( | ) | const [inline] |
Definition at line 28 of file ConnectionGroupInfo.h.
unsigned int spikestream::ConnectionGroupInfo::getToNeuronGroupID | ( | ) | const [inline] |
Definition at line 26 of file ConnectionGroupInfo.h.
bool ConnectionGroupInfo::hasParameter | ( | const QString & | parameterName | ) |
Returns true if the connection group has this parameter.
Definition at line 93 of file ConnectionGroupInfo.cpp.
ConnectionGroupInfo & ConnectionGroupInfo::operator= | ( | const ConnectionGroupInfo & | rhs | ) |
Assignment operator
Definition at line 53 of file ConnectionGroupInfo.cpp.
void spikestream::ConnectionGroupInfo::setDescription | ( | const QString & | description | ) | [inline] |
Definition at line 33 of file ConnectionGroupInfo.h.
void spikestream::ConnectionGroupInfo::setFromNeuronGroupID | ( | unsigned | id | ) | [inline] |
Definition at line 34 of file ConnectionGroupInfo.h.
void spikestream::ConnectionGroupInfo::setID | ( | unsigned int | id | ) | [inline] |
Definition at line 36 of file ConnectionGroupInfo.h.
void spikestream::ConnectionGroupInfo::setToNeuronGroupID | ( | unsigned | id | ) | [inline] |
Definition at line 35 of file ConnectionGroupInfo.h.