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;
71 MONGOCXX_PRIVATE
cursor(
void* cursor_ptr);
73 class MONGOCXX_PRIVATE impl;
74 std::unique_ptr<impl> _impl;
81 :
public std::iterator<std::input_iterator_tag, bsoncxx::document::view> {
101 void operator++(
int);
113 friend MONGOCXX_API
bool MONGOCXX_CALL operator==(
const iterator&,
const iterator&);
114 friend MONGOCXX_API
bool MONGOCXX_CALL operator!=(
const iterator&,
const iterator&);
125 MONGOCXX_INLINE_NAMESPACE_END
128 #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:80
Class representing server side document groupings within a MongoDB database.
Definition: collection.hpp:74