27 #ifndef ICL_CORE_KEY_VALUE_DIRECTORY_HPP_INCLUDED 28 #define ICL_CORE_KEY_VALUE_DIRECTORY_HPP_INCLUDED 43 typename KeyValueMap::const_iterator find_it = m_items.find(key);
44 if (find_it != m_items.end())
46 value = find_it->second;
58 typename KeyValueMap::const_iterator find_it = m_items.find(key);
59 return find_it != m_items.end();
65 typename KeyValueMap::const_iterator find_it = m_items.find(key);
67 return find_it == m_items.end();
73 : m_directory(directory),
125 template <
typename T>
131 template <
typename T>
138 #ifdef _IC_BUILDER_DEPRECATED_STYLE_ 140 template <
typename T>
146 template <
typename T>
153 template <
typename T>
159 template <
typename T>
163 return insert(key, value);
166 template <
typename T>
172 template <
typename T>
178 template <
typename T>
184 template <
typename T>
190 template <
typename T>
KeyValueDirectory< T >::KeyValueMap::const_iterator m_current_entry
#define ICL_CORE_VC_DEPRECATE_STYLE
bool insert(const String &key, typename ConvertToRef< T >::ToConstRef value)
bool hasKey(const String &key) const
KeyValueDirectoryIterator(const String &query, const KeyValueDirectory< T > *directory)
KeyValueDirectoryIterator< T > find(const String &query) const
const KeyValueDirectory< T > * m_directory
ConfigIterator find(const ::icl_core::String &query)
bool get(const String &key, typename ConvertToRef< T >::ToRef value) const
String matchGroup(size_t index) const
boost::match_results< icl_core::String::const_iterator > m_current_results
Contains KeyValueDirectory.
ConvertToRef< T >::ToConstRef value() const
ICL_CORE_VC_DEPRECATE_STYLE ConfigIterator Find(const icl_core::String &query) ICL_CORE_GCC_DEPRECATE_STYLE
bool Get(const icl_core::String &key, typename icl_core::ConvertToRef< T >::ToRef value) ICL_CORE_GCC_DEPRECATE_STYLE