BSON_ITER_VISIT_ALL(3)

NAME
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.

COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.