44 enum class type { k_non_tailable, k_tailable, k_tailable_await };
103 std::unique_ptr<impl> _impl;
132 using iterator_category = std::input_iterator_tag;
133 using difference_type = std::ptrdiff_t;
160 friend ::mongocxx::v_noabi::cursor;
174 bool is_exhausted()
const;
A read-only, non-owning view of a BSON document.
Definition view.hpp:35
An input iterator of documents in a MongoDB cursor result set.
Definition cursor.hpp:124
cursor(cursor &&) noexcept
Move constructs a cursor.
Supports MongoDB Client-Side Field Level Encryption operations.
Definition client_encryption.hpp:42
A client connection to a MongoDB server.
Definition client.hpp:61
A MongoDB collection.
Definition collection.hpp:87
An input iterator of documents in a MongoDB cursor result set.
Definition cursor.hpp:124
friend bool operator!=(iterator const &, iterator const &)
Compare two iterators for (in)-equality. Iterators compare equal if they point to the same underlying...
friend bool operator==(iterator const &, iterator const &)
Compare two iterators for (in)-equality. Iterators compare equal if they point to the same underlying...
iterator & operator++()
Pre-increments the iterator to move to the next document.
bsoncxx::v_noabi::document::view const * operator->() const
Accesses a member of the dereferenced document currently being pointed to.
bsoncxx::v_noabi::document::view const & operator*() const
Dereferences the view for the document currently being pointed to.
bsoncxx::v_noabi::document::view value_type
std::iterator_traits
Definition cursor.hpp:129
void operator++(int)
Post-increments the iterator to move to the next document.
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. If begin() is called more t...
cursor(cursor &&) noexcept
Move constructs a cursor.
A MongoDB database.
Definition database.hpp:46
A MongoDB index.
Definition index_view.hpp:42
A MongoDB Atlas Search Index.
Definition search_index_view.hpp:26
Declares mongocxx::v_noabi::client.
Declares mongocxx::v_noabi::client_encryption.
Declares mongocxx::v_noabi::collection.
Declares mongocxx::v_noabi::cursor.
Declares mongocxx::v_noabi::database.
Provides bsoncxx::v_noabi::document::view.
Declares mongocxx::v_noabi::index_view.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard postlude header.
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is NOT guaranteed.
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v_noabi::search_index_view.
Provides std::optional-related polyfills for library API usage.