SpikeStream Library
0.2
|
00001 #include "ParameterInfo.h" 00002 using namespace spikestream; 00003 00005 ParameterInfo::ParameterInfo(const QString& name, const QString& description, int type){ 00006 this->name = name; 00007 this->description = description; 00008 this->type = type; 00009 } 00010 00011 00013 ParameterInfo::ParameterInfo(const ParameterInfo& info){ 00014 this->name = info.name; 00015 this->description = info.description; 00016 this->type = info.type; 00017 this->optionNames = info.optionNames; 00018 } 00019 00020 00022 ParameterInfo::~ParameterInfo(){ 00023 } 00024 00025 00026 /*--------------------------------------------------------- */ 00027 /*----- PUBLIC METHODS ----- */ 00028 /*--------------------------------------------------------- */ 00029 00031 ParameterInfo& ParameterInfo::operator=(const ParameterInfo& rhs){ 00032 if(this == &rhs) 00033 return *this; 00034 00035 this->name = rhs.name; 00036 this->description = rhs.description; 00037 this->type = rhs.type; 00038 this->optionNames = rhs.optionNames; 00039 00040 return *this; 00041 }