BSON_ITER_VISIT_ALL(3)
β¨ BSON_ITER_VISIT_ALL(3) β¨
okay bestie, this one is from libbson and it's literally the convenience-function friend you call when you want the visitor to handle the whole walk. no cap, it's giving callback-vtable main character energy π
πΈ SYNOPSIS πΈ
bool
bson_iter_visit_all (bson_iter_t *iter,
const bson_visitor_t *visitor,
void *data);
π PARAMETERS π
iterβ abson_iter_t.visitorβ abson_visitor_t.dataβ optional data forvisitor.
π¦ DESCRIPTION π¦
A convenience function to iterate all remaining fields of iter using the callback vtable provided by visitor. lowkey iconic: you bring the iterator, the visitor brings the callbacks, and data is there if your visitor needs a little extra something π«Ά
β RETURNS β
Returns true if visitation was prematurely stopped by a callback function. Returns false either because all elements were visited or due to corrupt BSON. yeah, those are the two false girlies: finished normally, or corrupt BSON said "not today" π
See bson_visitor_t for examples of how to set your own callbacks to provide information about the location of corrupt or unsupported BSON document entries. that's your go-to for making your callbacks spill the location tea β¨
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
that's the whole page, bestie π source: libbson, version 2.5.6, dated Oct 09, 2026. manual page BSON_ITER_VISIT_ALL(3) out. mwah ππ
π¦ where this page comes from
- epel 10: libbson-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms