95 template <
typename ValueType>
96 boost::optional<ValueType> findItemValue(
const DtString& key)
const;
99 template <
typename ValueType>
100 boost::optional<ValueType> findItemValue(
int key)
const;
103 template <
typename ValueType>
104 boost::optional<ValueType> findItemValue(
double key)
const;
147 virtual bool erase(
int key);
148 virtual bool erase(
double key);
192 virtual void setKeyType(
const DtString&);
198 virtual bool keyIsInt()
const;
199 virtual bool keyIsReal()
const;
200 virtual bool keyIsString()
const;
211 virtual bool convertKeyToString(
int key,
DtString& str)
const;
214 virtual bool convertKeyToString(
double key,
DtString& str)
const;
217 virtual bool convertStringToKey(
const DtString& str,
int& key)
const;
220 virtual bool convertStringToKey(
const DtString& str,
double& key)
const;
254 template <
typename ValueType>
259 return findPropertyValue<ValueType>(key);
262 return boost::optional<ValueType>();
265 template <
typename ValueType>
271 return findPropertyValue<ValueType>(keyStr);
274 return boost::optional<ValueType>();
277 template <
typename ValueType>
283 return findPropertyValue<ValueType>(keyStr);
286 return boost::optional<ValueType>();