MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / CreateVectorOfSortedTables

Function CreateVectorOfSortedTables

Libs/flatbuffers/flatbuffers.h:2141–2145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2139 /// where the vector is stored.
2140 template<typename T>
2141 Offset<Vector<Offset<T>>> CreateVectorOfSortedTables(Offset<T> *v,
2142 size_t len) {
2143 std::sort(v, v + len, TableKeyComparator<T>(buf_));
2144 return CreateVector(v, len);
2145 }
2146
2147 /// @brief Serialize an array of `table` offsets as a `vector` in the buffer
2148 /// in sorted order.

Callers

nothing calls this directly

Calls 3

CreateVectorFunction · 0.70
dataFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected