From 6ba361d96bc2581667b3400f87ff89fae6449e1f Mon Sep 17 00:00:00 2001 From: Patrick Benavoli Date: Wed, 31 Aug 2011 11:23:24 +0200 Subject: parameter-framework: improvements and corrections BZ: 6721 - Bug correction concerning selection criteria display (inclusive type) - Adapted XML format to allow for only on parameter to be associated to a domain - Removed unused files in parameter project Change-Id: I9f42d08ff8cb60354714fe3d6b0f0b321ad0a7bf Orig-Change-Id: I837e553070f5acf2d275082c986ba29433493e31 Signed-off-by: Patrick Benavoli Reviewed-on: http://android.intel.com:8080/16878 Reviewed-by: Mahe, Erwan Tested-by: Barthes, FabienX Reviewed-by: buildbot Tested-by: buildbot --- parameter/BitParameterType.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'parameter/BitParameterType.h') diff --git a/parameter/BitParameterType.h b/parameter/BitParameterType.h index 2a94922..f3f18b8 100644 --- a/parameter/BitParameterType.h +++ b/parameter/BitParameterType.h @@ -46,7 +46,7 @@ public: // Conversion bool asInteger(const string& strValue, uint32_t& uiValue, CParameterAccessContext& parameterAccessContext) const; - void asString(const uint32_t& uiValue, string& strValue) const; + void asString(const uint32_t& uiValue, string& strValue, CParameterAccessContext& parameterAccessContext) const; // Bit Size uint32_t getBitSize() const; @@ -60,6 +60,8 @@ private: uint32_t getMaxValue() const; // Biwise mask uint32_t getMask() const; + // Check data has no bit set outside available range + bool isEncodable(uint32_t uiData) const; // Pos in bits uint32_t _uiBitPos; -- cgit v1.1