X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/4cf57e6db08da791233d75237f62e74bc88dd427..14cd6d834ab531525a51c6a6992583b3e9143e02:/AbstractInputModifier.h diff --git a/AbstractInputModifier.h b/AbstractInputModifier.h index bbc5bdd..890daf0 100644 --- a/AbstractInputModifier.h +++ b/AbstractInputModifier.h @@ -5,14 +5,21 @@ #include +#include "Exception.h" + +class ConnectedInterface; + using namespace std; using namespace Qt; class AbstractInputModifier { -public: +public: + + enum ModifierVHDLContext {AnyContext = 0, Entity = 1, Component = 2, Architecture = 3, Signal = 4 }; + enum ModifierVHDLFlags { NoComma = 1 }; - AbstractInputModifier(); + AbstractInputModifier(ConnectedInterface* _associatedIface); virtual ~AbstractInputModifier(); //getters @@ -29,9 +36,11 @@ public: // others virtual QList* getModifiedInput(QList* input) = 0; + virtual QString toVHDL(int context, int flags) throw(Exception) = 0; protected: QList* pattern; // the pattern modified by this + ConnectedInterface* associatedIface; }; #endif // __ABSTRACTINPUTMODIFIER_H__