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