X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..e5af659f87bcb199d6a5f10f09b311138351d0f3:/AbstractBlock.h?ds=inline diff --git a/AbstractBlock.h b/AbstractBlock.h index 2c89cbf..acdc1c8 100644 --- a/AbstractBlock.h +++ b/AbstractBlock.h @@ -25,6 +25,7 @@ public: // getters inline QString getName() { return name; } + inline int nbParameters() { return params.size(); } inline QList getParameters() { return params; } inline QList getInputs() { return inputs; } inline QList getOutputs() { return outputs; } @@ -50,6 +51,7 @@ public: void addParameter(BlockParameter *param); void addInterface(AbstractInterface *inter); void removeInterface(AbstractInterface *inter); + void removeAllInterfaces(); void defineBlockParam(BlockParameter *param); QList getInterfaces();