| 2237 | /// \brief Get all children matching this FieldRef. |
| 2238 | template <typename T> |
| 2239 | std::vector<GetType<T>> GetAll(const T& root) const { |
| 2240 | std::vector<GetType<T>> out; |
| 2241 | for (const auto& match : FindAll(root)) { |
| 2242 | out.push_back(match.Get(root).ValueOrDie()); |
| 2243 | } |
| 2244 | return out; |
| 2245 | } |
| 2246 | /// \brief Get all children matching this FieldRef. |
| 2247 | /// |
| 2248 | /// Unlike `FieldRef::GetAll`, this variant is not zero-copy and the retrieved |
no test coverage detected