X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/4cf57e6db08da791233d75237f62e74bc88dd427..9bfa0c13066918f440ac2b5461fb3f8847f43fd6:/AbstractInputModifier.h diff --git a/AbstractInputModifier.h b/AbstractInputModifier.h index bbc5bdd..6f3abe8 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 }; + 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__