19 #include <bsoncxx/document/view.hpp>
21 #include <mongocxx/config/prelude.hpp>
24 MONGOCXX_INLINE_NAMESPACE_BEGIN
37 enum class type { k_non_tailable, k_tailable, k_tailable_await };
39 class MONGOCXX_API iterator;
75 MONGOCXX_PRIVATE
cursor(
void* cursor_ptr);
77 class MONGOCXX_PRIVATE impl;
78 std::unique_ptr<impl> _impl;
85 :
public std::iterator<std::input_iterator_tag, bsoncxx::document::view> {
109 void operator++(
int);
121 friend MONGOCXX_API
bool MONGOCXX_CALL operator==(
const iterator&,
const iterator&);
122 friend MONGOCXX_API
bool MONGOCXX_CALL operator!=(
const iterator&,
const iterator&);
133 MONGOCXX_INLINE_NAMESPACE_END
136 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
A read-only, non-owning view of a BSON document.
Definition: view.hpp:33
Class representing a pointer to the result set of a query on a MongoDB server.
Definition: cursor.hpp:35
Class representing a client connection to MongoDB.
Definition: client.hpp:49
Class representing a MongoDB database.
Definition: database.hpp:43
Class representing an input iterator of documents in a MongoDB cursor result set. ...
Definition: cursor.hpp:84
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74