19#include <mongocxx/client-fwd.hpp>
20#include <mongocxx/client_encryption-fwd.hpp>
21#include <mongocxx/collection-fwd.hpp>
22#include <mongocxx/cursor-fwd.hpp>
23#include <mongocxx/database-fwd.hpp>
24#include <mongocxx/index_view-fwd.hpp>
25#include <mongocxx/search_index_view-fwd.hpp>
27#include <bsoncxx/document/view.hpp>
28#include <bsoncxx/stdx/optional.hpp>
30#include <mongocxx/config/prelude.hpp>
44 enum class type { k_non_tailable, k_tailable, k_tailable_await };
99 bsoncxx::v_noabi::stdx::optional<type> cursor_type =
bsoncxx::v_noabi::stdx::nullopt);
101 class MONGOCXX_PRIVATE impl;
102 std::unique_ptr<impl> _impl;
131 using iterator_category = std::input_iterator_tag;
132 using difference_type = std::ptrdiff_t;
159 friend ::mongocxx::v_noabi::cursor;
175 MONGOCXX_PRIVATE
bool is_exhausted()
const;
186#include <mongocxx/config/postlude.hpp>
A read-only, non-owning view of a BSON document.
Definition view.hpp:35
Class supporting operations for MongoDB Client-Side Field Level Encryption.
Definition client_encryption.hpp:40
Class representing a client connection to MongoDB.
Definition client.hpp:61
Class representing server side document groupings within a MongoDB database.
Definition collection.hpp:86
Class representing an input iterator of documents in a MongoDB cursor result set.
Definition cursor.hpp:123
friend bool operator!=(const iterator &, const iterator &)
Compare two iterators for (in)-equality.
const bsoncxx::v_noabi::document::view & operator*() const
Dereferences the view for the document currently being pointed to.
const bsoncxx::v_noabi::document::view * operator->() const
Accesses a member of the dereferenced document currently being pointed to.
iterator & operator++()
Pre-increments the iterator to move to the next document.
friend bool operator==(const iterator &, const iterator &)
Compare two iterators for (in)-equality.
void operator++(int)
Post-increments the iterator to move to the next document.
Class representing a pointer to the result set of a query on a MongoDB server.
Definition cursor.hpp:42
iterator end()
A cursor::iterator indicating cursor exhaustion, meaning that no documents are available from the cur...
iterator begin()
A cursor::iterator that points to the beginning of any available results.
cursor(cursor &&) noexcept
Move constructs a cursor.
Class representing a MongoDB database.
Definition database.hpp:46
Class representing a MongoDB index view.
Definition index_view.hpp:38
Class representing a MongoDB search index view.
Definition search_index_view.hpp:23
The top-level namespace for bsoncxx library entities.
Definition element-fwd.hpp:19
The top-level namespace for mongocxx library entities.
Definition bulk_write-fwd.hpp:19