SpikeStream Library  0.2
spikestream::ConnectionGroupInfo Class Reference

#include <ConnectionGroupInfo.h>

List of all members.

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 ()
ConnectionGroupInfooperator= (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 &parameterName)
QHash< QString, double > getParameterMap ()
QString getParameterXML ()
bool hasParameter (const QString &parameterName)
void setDescription (const QString &description)
void setFromNeuronGroupID (unsigned id)
void setToNeuronGroupID (unsigned id)
void setID (unsigned int id)

Detailed Description

Holds information about a connection group as stored in the ConnectionGroup table of the SpikeStreamNetwork database

Definition at line 15 of file ConnectionGroupInfo.h.


Constructor & Destructor Documentation

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.

Copy constructor

Definition at line 33 of file ConnectionGroupInfo.cpp.

Destructor

Definition at line 44 of file ConnectionGroupInfo.cpp.


Member Function Documentation

Definition at line 24 of file ConnectionGroupInfo.h.

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.

Returns the parameters as an XML string

Definition at line 78 of file ConnectionGroupInfo.cpp.

unsigned int spikestream::ConnectionGroupInfo::getSynapseTypeID ( ) const [inline]

Definition at line 28 of file ConnectionGroupInfo.h.

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.

Definition at line 34 of file ConnectionGroupInfo.h.

void spikestream::ConnectionGroupInfo::setID ( unsigned int  id) [inline]

Definition at line 36 of file ConnectionGroupInfo.h.

Definition at line 35 of file ConnectionGroupInfo.h.


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