\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
+ QList<AbstractInterface *> getInterfaces(); //! return all interfaces\r
+ QList<AbstractInterface *> getDataInputs(); //! return all inputs of type data\r
AbstractInterface* getIfaceFromName(QString name);\r
BlockParameter* getParameterFromName(QString name);\r
\r