The class ConnectionLabel enables synapse model to be labeled by a positive integer. More...
#include <connection_label.h>
Public Member Functions | |
| ConnectionLabel () | |
| void | get_status (Dictionary &d) const |
| Get all properties of this connection and put them into a dictionary. | |
| void | set_status (const Dictionary &d, ConnectorModel &cm) |
| Set properties of this connection from the values given in dictionary. | |
| long | get_label () const |
Private Attributes | |
| long | label_ |
The class ConnectionLabel enables synapse model to be labeled by a positive integer.
The label can be set / retrieved with the names::synapse_label property in the parameter dictionary of Set/GetStatus or Connect. Using the GetConnections function, synapses with the same label can be specified.
The name of synapse models, which can be labeled, end with '_lbl'.
| nest::ConnectionLabel< ConnectionT >::ConnectionLabel | ( | ) |
|
inline |
| void nest::ConnectionLabel< ConnectionT >::get_status | ( | Dictionary & | d | ) | const |
Get all properties of this connection and put them into a dictionary.
References nest::names::size_of(), and nest::names::synapse_label().
| void nest::ConnectionLabel< ConnectionT >::set_status | ( | const Dictionary & | d, |
| ConnectorModel & | cm | ||
| ) |
Set properties of this connection from the values given in dictionary.
References nest::names::synapse_label().
|
private |