SpikeStream Library
0.2
|
00001 #ifndef NEURONGROUPINFO_H 00002 #define NEURONGROUPINFO_H 00003 00004 //SpikeStream includes 00005 #include "NeuronType.h" 00006 00007 00008 //Qt includes 00009 #include <QString> 00010 #include <QHash> 00011 00012 namespace spikestream { 00013 00016 class NeuronGroupInfo { 00017 public: 00018 NeuronGroupInfo(); 00019 NeuronGroupInfo(unsigned int id, const QString& name, const QString& desc, const QHash<QString, double>& paramMap, const NeuronType& neuronType); 00020 NeuronGroupInfo(const NeuronGroupInfo& neurGrpInfo); 00021 NeuronGroupInfo& operator=(const NeuronGroupInfo& rhs); 00022 ~NeuronGroupInfo(); 00023 00024 unsigned int getID() const { return id; } 00025 QString getName() const { return name; } 00026 QString getDescription() const { return description; } 00027 QHash<QString, double> getParameterMap() { return parameterMap; } 00028 QString getParameterXML(); 00029 NeuronType getNeuronType() const { return neuronType; } 00030 unsigned int getNeuronTypeID() const { return neuronType.getID(); } 00031 void setDescription(const QString& description){ this->description = description; } 00032 void setID(unsigned int id) { this->id = id; } 00033 void setName(const QString& name){ this->name = name; } 00034 00035 private: 00036 //========================== VARIABLES =========================== 00038 unsigned int id; 00039 00041 QString name; 00042 00044 QString description; 00045 00047 QHash<QString, double> parameterMap; 00048 00051 NeuronType neuronType; 00052 00053 00054 //=========================== METHODS ============================ 00055 }; 00056 00057 } 00058 00059 #endif//NEURONGROUPINFO_H