Lines Matching refs:String
28 #include "String.h"
38 typedef typename map<String, T>::iterator Iterator;
39 typedef typename map<String, T>::const_iterator ConstIterator;
40 typedef typename map<String, T>::size_type SizeType;
56 bool keyExist(const String& key_) const;
58 const T& get(const String& key_) const;
60 const T& getIfKeyExist(const String& key_, const T& default_value_ = T()) const;
62 void set(const String& key_, const T& value_);
64 Iterator find(const String& key_);
65 ConstIterator find(const String& key_) const;
67 void remove(const String& key_);
85 map<String, T> mMap;
118 template<class T> bool Map<T>::keyExist(const String& key_) const
124 template<class T> const T& Map<T>::get(const String& key_) const
133 template<class T> const T& Map<T>::getIfKeyExist(const String& key_, const T& default_value_) const
145 template<class T> void Map<T>::set(const String& key_, const T& value_)
151 template<class T> typename Map<T>::Iterator Map<T>::find(const String& key_)
156 template<class T> typename Map<T>::ConstIterator Map<T>::find(const String& key_) const
161 template<class T> void Map<T>::remove(const String& key_)
184 const String& key = it->first;
211 inline std::ostream& operator<<(std::ostream& ost_, const Map<String>& map_)
213 Map<String>::ConstIterator it;
225 typedef Map<String> StringMap;
254 const String& temp_name = it->first;