MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / parseTextArray

Function parseTextArray

radiantcore/model/import/openfbx/ofbx.cpp:2157–2166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2155
2156
2157template <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
2169template <typename T> static bool parseTextArrayRaw(const Property& property, T* out_raw, int max_size)

Callers 2

parseBinaryArrayFunction · 0.85
parseDoubleVecDataFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected