\r
#include <QtCore>\r
\r
+#include "Exception.h"\r
+\r
+class ConnectedInterface;\r
+\r
using namespace std;\r
using namespace Qt;\r
\r
class AbstractInputModifier {\r
\r
-public: \r
+public:\r
+\r
+ enum ModifierVHDLContext {AnyContext = 0, Entity = 1, Component = 2, Architecture = 3 };\r
+ enum ModifierVHDLFlags { NoComma = 1 };\r
\r
- AbstractInputModifier();\r
+ AbstractInputModifier(ConnectedInterface* _associatedIface);\r
virtual ~AbstractInputModifier();\r
\r
//getters\r
\r
// others\r
virtual QList<char>* getModifiedInput(QList<char>* input) = 0;\r
+ virtual QString toVHDL(int context, int flags) throw(Exception) = 0;\r
\r
protected:\r
QList<char>* pattern; // the pattern modified by this\r
+ ConnectedInterface* associatedIface;\r
};\r
\r
#endif // __ABSTRACTINPUTMODIFIER_H__\r