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

Method Mutate

Libs/flatbuffers/flatbuffers.h:334–337  ·  view source on GitHub ↗

Change elements if you have a non-const pointer to this object. Scalars only. See reflection.h, and the documentation.

Source from the content-addressed store, hash-verified

332 // Change elements if you have a non-const pointer to this object.
333 // Scalars only. See reflection.h, and the documentation.
334 void Mutate(uoffset_t i, const T &val) {
335 FLATBUFFERS_ASSERT(i < size());
336 WriteScalar(data() + i, val);
337 }
338
339 // Change an element of a vector of tables (or strings).
340 // "val" points to the new table/string, as you can obtain from

Callers

nothing calls this directly

Calls 3

WriteScalarFunction · 0.85
sizeFunction · 0.70
dataFunction · 0.70

Tested by

no test coverage detected