summaryrefslogtreecommitdiffstats
path: root/parameter/EnumParameterType.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/EnumParameterType.h')
-rw-r--r--parameter/EnumParameterType.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/parameter/EnumParameterType.h b/parameter/EnumParameterType.h
index 9ef6343..a195fea 100644
--- a/parameter/EnumParameterType.h
+++ b/parameter/EnumParameterType.h
@@ -36,15 +36,6 @@
class CEnumParameterType : public CParameterType
{
- // Value pairs
- struct SValuePair
- {
- SValuePair(const string& strLiteral, int32_t iNumerical) : _strLiteral(strLiteral), _iNumerical(iNumerical) {}
-
- string _strLiteral;
- int32_t _iNumerical;
- };
- typedef list<SValuePair>::const_iterator ValuePairListIterator;
public:
CEnumParameterType(const string& strName);
@@ -68,6 +59,8 @@ public:
// CElement
virtual string getKind() const;
private:
+ // Returns true if children dynamic creation is to be dealt with
+ virtual bool childrenAreDynamic() const;
// Check string is a number
static bool isNumber(const string& strValue);
@@ -77,7 +70,4 @@ private:
// Numerical validity
bool isValid(int32_t iNumerical) const;
-
- // Value pairs
- list<SValuePair> _valuePairList;
};