X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/8e89ca269960b7bb43ccc054696dfc28e84d409a..48f48e6a26a54751ecd0ab90b10ab972cc5e89cd:/ConnectedInterface.h diff --git a/ConnectedInterface.h b/ConnectedInterface.h index cfea68c..84066a6 100644 --- a/ConnectedInterface.h +++ b/ConnectedInterface.h @@ -24,11 +24,14 @@ public : ConnectedInterface(AbstractBlock* _owner); ConnectedInterface(AbstractBlock* _owner, const QString& _name, const QString& _type, const QString& _width, int _direction, int _purpose); + // getters inline QList getConnectedTo() { return connectedTo;} inline ConnectedInterface* getConnectedFrom() { return connectedFrom;} + inline QList getOutputPattern() { return outputPattern; } // setters + inline void setOutputPattern(QList pattern) { outputPattern = pattern; } // testers inline bool isConnectedTo(){return connectedTo.length() != 0;} @@ -66,6 +69,9 @@ protected: * this interface. connecteFrom references such an interface if it exists. */ ConnectedInterface* connectedFrom; + + // patterns + QList outputPattern; //! only usefull for output interfaces };