diff options
author | Frederic Boisnard <fredericx.boisnard@intel.com> | 2013-05-23 15:28:31 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:04:04 +0100 |
commit | 390b36d8129d3ece769c8542d9d3d3895ab13fbb (patch) | |
tree | 693f1bbc58ef05d0cbd6182b23be3cf6b413dbc2 /parameter/InstanceConfigurableElement.h | |
parent | 55f41bcc3edf282f236539bb26bd6dc8638f235e (diff) | |
download | external_parameter-framework-390b36d8129d3ece769c8542d9d3d3895ab13fbb.zip external_parameter-framework-390b36d8129d3ece769c8542d9d3d3895ab13fbb.tar.gz external_parameter-framework-390b36d8129d3ece769c8542d9d3d3895ab13fbb.tar.bz2 |
[PFW] Add getFormattedMapping for InstanceConfigurableElements
BZ: 99822
The mapping data need to be printed, however helper methods are
missing to achieve this easily.
This patch aims to add a new method "getFormattedMapping()" for
CMappingData, allowing to format the mapping data as a string.
Change-Id: Ia030c6b88905fcb7591ad45339712051eb88d1c1
Signed-off-by: Frederic Boisnard <fredericx.boisnard@intel.com>
Reviewed-on: http://android.intel.com:8080/109301
Reviewed-by: Benavoli, Patrick <patrick.benavoli@intel.com>
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com>
Reviewed-by: Rocard, KevinX <kevinx.rocard@intel.com>
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/InstanceConfigurableElement.h')
-rw-r--r-- | parameter/InstanceConfigurableElement.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/parameter/InstanceConfigurableElement.h b/parameter/InstanceConfigurableElement.h index e27ad4b..b1ffdf8 100644 --- a/parameter/InstanceConfigurableElement.h +++ b/parameter/InstanceConfigurableElement.h @@ -48,9 +48,16 @@ public: // Instantiated type const CTypeElement* getTypeElement() const; - // Mapping info bool getMappingData(const string& strKey, const string*& pStrValue) const; + /** + * Returns the mapping data associated to the type element of the current + * InstanceConfigurableElement, as a formatted string + * + * @return A string containing the formatted mapping + */ + string getFormattedMapping() const; + // From CElement virtual string getKind() const; |