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

Function SetAnyVectorElemF

Libs/flatbuffers/reflection.h:363–366  ·  view source on GitHub ↗

Set any vector element as a double, regardless of type what it is.

Source from the content-addressed store, hash-verified

361
362// Set any vector element as a double, regardless of type what it is.
363inline void SetAnyVectorElemF(VectorOfAny *vec, reflection::BaseType elem_type,
364 size_t i, double val) {
365 SetAnyValueF(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val);
366}
367
368// Set any vector element as a string, regardless of type what it is.
369inline void SetAnyVectorElemS(VectorOfAny *vec, reflection::BaseType elem_type,

Callers

nothing calls this directly

Calls 2

GetTypeSizeFunction · 0.85
DataMethod · 0.45

Tested by

no test coverage detected