Get any vector element as a 64bit int, regardless of what type it is.
| 230 | |
| 231 | // Get any vector element as a 64bit int, regardless of what type it is. |
| 232 | inline int64_t GetAnyVectorElemI(const VectorOfAny *vec, |
| 233 | reflection::BaseType elem_type, size_t i) { |
| 234 | return GetAnyValueI(elem_type, vec->Data() + GetTypeSize(elem_type) * i); |
| 235 | } |
| 236 | |
| 237 | // Get any vector element as a double, regardless of what type it is. |
| 238 | inline double GetAnyVectorElemF(const VectorOfAny *vec, |
nothing calls this directly
no test coverage detected