bson_iter_visit_all() — libbson 1.9.2

- libbson 1.9.2 »
- API Reference »
- bson_iter_t

# bson_iter_visit_all()

## Synopsis

    bool
    bson_iter_visit_all (bson_iter_t *iter,
                         const bson_visitor_t *visitor,
                         void *data);

## Parameters

- `iter`: A bson_iter_t.
- `visitor`: A bson_visitor_t.
- `data`: Optional data for `visitor`.

## Description

A convenience function to iterate all remaining fields of `iter` using the callback vtable provided by `visitor`.

## Returns

true if visitation was pre-maturely stopped by a callback function. Otherwise false.

Created using Sphinx 1.6.5, based on Sphinx Readable Theme.