DCVPageComponent * getVComponent() const { return d_vComponent; }
DCVCPage* getPageBelonging() const;
DCCellCode* getCellCode() const { return d_cellCode; }
+ bool getIsCellCodeClassAssgined() const;
DCAxon* getAxon() const;
std::string getReceptorName(DCReceptor *receptor) const;
DCReceptor* getReceptor(const QString& receptorName);
*/
virtual DCReceptor* createReceptor(const QString &receptorName);
+ /**
+ * Change cell code type.
+ * change of cell's own type attribute only take effort when no cell code class is assined to this cell.
+ * In the case a cell code class is assiend to this cell, type of this cell rely on the cell code class's API type.
+ */
+ void changeType(const QString& type);
+
signals:
void cellCodeChanged();