Get any vector element as a double, regardless of what type it is.
| 236 | |
| 237 | // Get any vector element as a double, regardless of what type it is. |
| 238 | inline double GetAnyVectorElemF(const VectorOfAny *vec, |
| 239 | reflection::BaseType elem_type, size_t i) { |
| 240 | return GetAnyValueF(elem_type, vec->Data() + GetTypeSize(elem_type) * i); |
| 241 | } |
| 242 | |
| 243 | // Get any vector element as a string, regardless of what type it is. |
| 244 | inline std::string GetAnyVectorElemS(const VectorOfAny *vec, |
nothing calls this directly
no test coverage detected