MongoDB C++ Driver current
Loading...
Searching...
No Matches
text_options.hpp
Go to the documentation of this file.
1// Copyright 2009-present MongoDB, Inc.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#pragma once
16
17#include <mongocxx/v1/text_options-fwd.hpp> // IWYU pragma: export
18
19//
20
22
24
26
27#include <cstdint>
28
29namespace mongocxx {
30namespace v1 {
31
51 private:
52 class impl;
53 void* _impl;
54
55 public:
56 class prefix;
57 class suffix;
58 class substring;
59
66
74
82
87
92
100
105
110
115
120
125
130
135
140
145
150
151 class internal;
152};
153
162 private:
163 class impl;
164 void* _impl;
165
166 public:
173
181
188 MONGOCXX_ABI_EXPORT_CDECL(prefix&) operator=(prefix&& other) noexcept;
189
194
198 MONGOCXX_ABI_EXPORT_CDECL(prefix&) operator=(prefix const& other);
199
207
212
217 const;
218
223
228 const;
229};
230
239 private:
240 class impl;
241 void* _impl;
242
243 public:
250
258
265 MONGOCXX_ABI_EXPORT_CDECL(suffix&) operator=(suffix&& other) noexcept;
266
271
275 MONGOCXX_ABI_EXPORT_CDECL(suffix&) operator=(suffix const& other);
276
284
289
294 const;
295
300
305 const;
306};
307
393
394} // namespace v1
395} // namespace mongocxx
396
397#include <mongocxx/v1/detail/postlude.hpp>
398
Options related to prefix queries in Queryable Encryption.
Definition text_options.hpp:161
prefix(prefix &&other) noexcept
Move constructor.
Options related to substring queries in Queryable Encryption.
Definition text_options.hpp:315
substring(substring &&other) noexcept
Move constructor.
Options related to suffix queries in Queryable Encryption.
Definition text_options.hpp:238
suffix(suffix &&other) noexcept
Move constructor.
text_options(text_options &&other) noexcept
Move constructor.
Options related to prefix queries in Queryable Encryption.
Definition text_options.hpp:161
prefix(prefix &&other) noexcept
Move constructor.
prefix & str_min_query_length(std::int32_t v)
Set the "strMinQueryLength" field.
~prefix()
Destroy this object.
prefix & str_max_query_length(std::int32_t v)
Set the "strMaxQueryLength" field.
Options related to substring queries in Queryable Encryption.
Definition text_options.hpp:315
substring & str_max_query_length(std::int32_t v)
Set the "strMaxQueryLength" field.
substring & str_min_query_length(std::int32_t v)
Set the "strminQueryLength" field.
substring(substring &&other) noexcept
Move constructor.
substring & str_max_length(std::int32_t v)
Set the "strMaxLength" field.
Options related to suffix queries in Queryable Encryption.
Definition text_options.hpp:238
suffix & str_min_query_length(std::int32_t v)
Set the "strminQueryLength" field.
suffix(suffix &&other) noexcept
Move constructor.
~suffix()
Destroy this object.
suffix & str_max_query_length(std::int32_t v)
Set the "strMaxQueryLength" field.
text_options & prefix_opts(prefix v)
Set the "prefix" field.
text_options(text_options &&other) noexcept
Move constructor.
text_options & substring_opts(substring v)
Set the "substring" field.
text_options & suffix_opts(suffix v)
Set the "suffix" field.
~text_options()
Destroy this object.
text_options & diacritic_sensitive(bool v)
Set the "diacriticSensitive" field.
text_options & case_sensitive(bool v)
Set the "caseSensitive" field.
Provides macros to control the set of symbols exported in the ABI.
#define MONGOCXX_DEPRECATED
Declares the associated entity as deprecated.
Definition export.hpp:25
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v1 macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
Declares entities whose ABI stability is guaranteed for documented symbols.
The top-level namespace within which all mongocxx library entities are declared.
Declares mongocxx::v1::text_options.
Provides std::optional-related polyfills for library API usage.