| 170 | |
| 171 | private: |
| 172 | void CollectString(LocalizableStringSubIndex & subIndex, int8_t code, std::string const & str) |
| 173 | { |
| 174 | if (str.empty()) |
| 175 | { |
| 176 | subIndex.insert(std::make_pair(code, kEmptyStringId)); |
| 177 | } |
| 178 | else |
| 179 | { |
| 180 | subIndex.insert(std::make_pair(code, m_counter)); |
| 181 | m_counter++; |
| 182 | m_collection.push_back(str); |
| 183 | } |
| 184 | } |
| 185 | |
| 186 | uint32_t m_counter = kEmptyStringId + 1; |
| 187 | std::vector<std::string> m_collection; |