| 2155 | |
| 2156 | |
| 2157 | template <typename T> static void parseTextArray(const Property& property, std::vector<T>* out) |
| 2158 | { |
| 2159 | const u8* iter = property.value.begin; |
| 2160 | while (iter < property.value.end) |
| 2161 | { |
| 2162 | T val; |
| 2163 | iter = (const u8*)fromString<T>((const char*)iter, (const char*)property.value.end, &val); |
| 2164 | out->push_back(val); |
| 2165 | } |
| 2166 | } |
| 2167 | |
| 2168 | |
| 2169 | template <typename T> static bool parseTextArrayRaw(const Property& property, T* out_raw, int max_size) |
no test coverage detected