SpikeStream Library
0.2
|
00001 #ifndef NETWORKINFO_H 00002 #define NETWORKINFO_H 00003 00004 //Qt includes 00005 #include <QString> 00006 00007 namespace spikestream{ 00008 00011 class NetworkInfo { 00012 public: 00013 NetworkInfo(); 00014 NetworkInfo(unsigned int id, const QString& name, const QString& desc); 00015 NetworkInfo(const NetworkInfo& netInfo); 00016 ~NetworkInfo(); 00017 NetworkInfo& operator=(const NetworkInfo& rhs); 00018 00019 unsigned int getID(){ return id; } 00020 QString getDescription(){ return description; } 00021 QString getName(){ return name; } 00022 void setID(unsigned int id) { this->id = id; } 00023 void setName(const QString& name) { this->name = name; } 00024 void setDescription(const QString& description) { this->description = description; } 00025 00026 private: 00028 unsigned int id; 00029 00031 QString name; 00032 00034 QString description; 00035 00036 }; 00037 } 00038 00039 #endif//NETWORKINFO_H 00040