Get any vector element as a string, regardless of what type it is.
| 242 | |
| 243 | // Get any vector element as a string, regardless of what type it is. |
| 244 | inline std::string GetAnyVectorElemS(const VectorOfAny *vec, |
| 245 | reflection::BaseType elem_type, size_t i) { |
| 246 | return GetAnyValueS(elem_type, vec->Data() + GetTypeSize(elem_type) * i, |
| 247 | nullptr, -1); |
| 248 | } |
| 249 | |
| 250 | // Get a vector element that's a table/string/vector from a generic vector. |
| 251 | // Pass Table/String/VectorOfAny as template parameter. |
nothing calls this directly
no test coverage detected