void DataTypeArray::enumerateStreams(const StreamCallback & callback, SubstreamPath & path) const { path.push_back(Substream::ArraySizes); callback(path); path.back() = Substream::ArrayElements; nested->enumerateStreams(callback, path); path.pop_back(); }
void DataTypeNullable::enumerateStreams(const StreamCallback & callback, SubstreamPath & path) const { path.push_back(Substream::NullMap); callback(path); path.back() = Substream::NullableElements; nested_data_type->enumerateStreams(callback, path); path.pop_back(); }