I was wondering if there is any symbian type to store name-value pairs?
Is there any?
Printable View
I was wondering if there is any symbian type to store name-value pairs?
Is there any?
There is an RHashMap type, just it is not present in all (many? most?) SDK-s. e32hashtab.h is the header, you can check if it is available or not.
An approach I have used is defining a type for a single name-value pair, and building an ordered array of it. RPointerArray is a suitable class for example with its InsertInOrder and FindInOrder methods, where the provided comparison method compares only the name part of the elements.
Thank you wizard.