aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parameter/BitParameterType.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/parameter/BitParameterType.h b/parameter/BitParameterType.h
index abf3c47..d59c62b 100644
--- a/parameter/BitParameterType.h
+++ b/parameter/BitParameterType.h
@@ -58,6 +58,14 @@ public:
// CElement
virtual string getKind() const;
+
+ /**
+ * Get the position of the bit within the bit parameter block.
+ * It corresponds to the "pos" attribute found in the XML file.
+ *
+ * @return position of the bit.
+ */
+ uint32_t getBitPos() const { return _uiBitPos; }
private:
// Instantiation
virtual CInstanceConfigurableElement* doInstantiate() const;