1BSON_ITER_VISIT_ALL(3) libbson BSON_ITER_VISIT_ALL(3)
2
3
4
6 bool
7 bson_iter_visit_all (bson_iter_t *iter,
8 const bson_visitor_t *visitor,
9 void *data);
10
12 • iter: A bson_iter_t.
13
14 • visitor: A bson_visitor_t.
15
16 • data: Optional data for visitor.
17
19 A convenience function to iterate all remaining fields of iter using
20 the callback vtable provided by visitor.
21
23 Returns true if visitation was prematurely stopped by a callback func‐
24 tion. Returns false either because all elements were visited or due to
25 corrupt BSON.
26
27 See bson_visitor_t for examples of how to set your own callbacks to
28 provide information about the location of corrupt or unsupported BSON
29 document entries.
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.25.1 Nov 08, 2023 BSON_ITER_VISIT_ALL(3)