Logo Search packages:      
Sourcecode: ucimf-openvanilla version File versions  Download package

virtual const char* OVDictionary::getStringWithDefault ( const char *  key,
const char *  value 
) [inline, virtual]

getStringWithDefault Try to retrieve the string value of a configuration key from the dictionary, if the configuration key does not exist, use the default value.

key The configuration key.
value The default string value.
The string value of the configuration key. getString setString

Definition at line 497 of file OpenVanilla.h.

References getString(), keyExist(), and setString().

        if (!keyExist(key)) setString(key, value); return getString(key);

Generated by  Doxygen 1.6.0   Back to index