X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/561d4f45e60504cc9e041370dd908b002fe776a5..2bdaa0aa3fab52f0808f60d9bbdabcd56d0efae9:/BlockParameter.h?ds=inline diff --git a/BlockParameter.h b/BlockParameter.h index adc8c5d..746a574 100644 --- a/BlockParameter.h +++ b/BlockParameter.h @@ -30,7 +30,7 @@ public : */ enum ParamWBAccess { Read = 1, Write = 2}; enum ParamWBDuration { Permanent = 1, Trigger = 2 }; - enum ParamVHDLContext { Entity = 1, Component = 2, Architecture = 3 }; // NB : 3 is when creating an instance of the block that owns this iface + enum ParamVHDLContext { Entity = 1, Component = 2, Instance = 3 }; // NB : 3 is when creating an instance of the block that owns this iface enum ParamVHDLFlags { NoComma = 1 }; BlockParameter(); @@ -44,6 +44,10 @@ public : inline int getType() { return type; } QString getTypeString(); virtual QVariant getValue(); // may be overriden + int getIntValue(bool* ok); + double getDoubleValue(bool* ok); + bool getBooleanValue(bool* ok); + QString getStringValue(); virtual QString getContext() = 0; // setters