|
SpikeStream Library
0.2
|
#include <ParameterInfo.h>
Public Member Functions | |
| ParameterInfo (const QString &name, const QString &description, int type) | |
| ParameterInfo (const ParameterInfo &info) | |
| ~ParameterInfo () | |
| QString | getDescription () const |
| QString | getName () const |
| QList< QString > | getOptionNames () |
| int | getType () const |
| ParameterInfo & | operator= (const ParameterInfo &rhs) |
| void | setOptionNames (const QList< QString > &optionNames) |
Static Public Attributes | |
| static const int | DOUBLE = 1 |
| static const int | POSITIVE_DOUBLE = 2 |
| static const int | BOOLEAN = 3 |
| static const int | INTEGER = 4 |
| static const int | UNSIGNED_INTEGER = 5 |
| static const int | OPTION = 6 |
Holds information about a neuron or synapse parameter. This class stores the meta information about a parameter, not the value associated with a particular neuron group.
Definition at line 13 of file ParameterInfo.h.
| ParameterInfo::ParameterInfo | ( | const QString & | name, |
| const QString & | description, | ||
| int | type | ||
| ) |
Standard constructor
Definition at line 5 of file ParameterInfo.cpp.
| ParameterInfo::ParameterInfo | ( | const ParameterInfo & | info | ) |
Copy constructor
Definition at line 13 of file ParameterInfo.cpp.
Destructor
Definition at line 22 of file ParameterInfo.cpp.
| QString spikestream::ParameterInfo::getDescription | ( | ) | const [inline] |
Definition at line 19 of file ParameterInfo.h.
| QString spikestream::ParameterInfo::getName | ( | ) | const [inline] |
Definition at line 20 of file ParameterInfo.h.
| QList<QString> spikestream::ParameterInfo::getOptionNames | ( | ) | [inline] |
Definition at line 21 of file ParameterInfo.h.
| int spikestream::ParameterInfo::getType | ( | ) | const [inline] |
Definition at line 22 of file ParameterInfo.h.
| ParameterInfo & ParameterInfo::operator= | ( | const ParameterInfo & | rhs | ) |
Assignment operator
Definition at line 31 of file ParameterInfo.cpp.
| void spikestream::ParameterInfo::setOptionNames | ( | const QList< QString > & | optionNames | ) | [inline] |
Definition at line 24 of file ParameterInfo.h.
const int spikestream::ParameterInfo::BOOLEAN = 3 [static] |
Parameter is a boolean
Definition at line 35 of file ParameterInfo.h.
const int spikestream::ParameterInfo::DOUBLE = 1 [static] |
Parameter is a double
Definition at line 29 of file ParameterInfo.h.
const int spikestream::ParameterInfo::INTEGER = 4 [static] |
Parameter is an integer
Definition at line 38 of file ParameterInfo.h.
const int spikestream::ParameterInfo::OPTION = 6 [static] |
Parameter is one of a predefined set of options
Definition at line 44 of file ParameterInfo.h.
const int spikestream::ParameterInfo::POSITIVE_DOUBLE = 2 [static] |
Parameter is a double
Definition at line 32 of file ParameterInfo.h.
const int spikestream::ParameterInfo::UNSIGNED_INTEGER = 5 [static] |
Parameter is an unsigned integer
Definition at line 41 of file ParameterInfo.h.