X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/561d4f45e60504cc9e041370dd908b002fe776a5..3fb762e7042d9b4a1cf78556ad9ed7f117cc53ba:/BlockParameter.h 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