| 320 | |
| 321 | /// Get the index of the element in the group with a given name |
| 322 | template<class T> S32 findByName(Vector<T>& group, S32 nameIndex) |
| 323 | { |
| 324 | for (S32 i = 0; i < group.size(); i++) |
| 325 | if (group[i].nameIndex == nameIndex) |
| 326 | return i; |
| 327 | return -1; |
| 328 | } |
| 329 | |
| 330 | /// Adjust the nameIndex for elements in the group |
| 331 | template<class T> void adjustForNameRemoval(Vector<T>& group, S32 nameIndex) |
no test coverage detected