\r
// getters\r
inline QString getName() { return name; }\r
+ inline int nbParameters() { return params.size(); }\r
inline QList<BlockParameter *> getParameters() { return params; }\r
inline QList<AbstractInterface*> getInputs() { return inputs; }\r
inline QList<AbstractInterface*> getOutputs() { return outputs; }\r
void addParameter(BlockParameter *param);\r
void addInterface(AbstractInterface *inter);\r
void removeInterface(AbstractInterface *inter);\r
+ void removeAllInterfaces();\r
void defineBlockParam(BlockParameter *param);\r
\r
QList<AbstractInterface *> getInterfaces();\r