MongoDB C++ Driver current
Loading...
Searching...
No Matches
mongocxx::string_options Class Reference

#include <mongocxx/v1/string_options.hpp>

Description

Options related to string queries for Queryable Encryption.

Supported fields include:

See also

Classes

class  prefix
 Options related to prefix queries in Queryable Encryption. More...
class  substring
 Options related to substring queries in Queryable Encryption. More...
class  suffix
 Options related to suffix queries in Queryable Encryption. More...

Public Member Functions

 string_options ()
 Default initialization.
 string_options (string_options &&other) noexcept
 Move constructor.
 string_options (string_options const &other)
 Copy construction.
 ~string_options ()
 Destroy this object.
bsoncxx::v1::stdx::optional< bool > case_sensitive () const
 Return the current "caseSensitive" field.
string_optionscase_sensitive (bool v)
 Set the "caseSensitive" field.
bsoncxx::v1::stdx::optional< bool > diacritic_sensitive () const
 Return the current "diacriticSensitive" field.
string_optionsdiacritic_sensitive (bool v)
 Set the "diacriticSensitive" field.
string_optionsoperator= (string_options &&other) noexcept
 Move assignment.
string_optionsoperator= (string_options const &other)
 Copy assignment.
bsoncxx::v1::stdx::optional< prefixprefix_opts () const
 Return the current "prefix" field.
string_optionsprefix_opts (prefix v)
 Set the "prefix" field.
bsoncxx::v1::stdx::optional< substringsubstring_opts () const
 Return the current "substring" field.
string_optionssubstring_opts (substring v)
 Set the "substring" field.
bsoncxx::v1::stdx::optional< suffixsuffix_opts () const
 Return the current "suffix" field.
string_optionssuffix_opts (suffix v)
 Set the "suffix" field.

Constructor & Destructor Documentation

◆ ~string_options()

Destroy this object.

Warning
Invalidates all associated views.

◆ string_options() [1/3]

mongocxx::v1::string_options::string_options ( string_options && other)
noexcept

Move constructor.

Postconditions:
  • other is in an assign-or-destroy-only state.

◆ string_options() [2/3]

mongocxx::v1::string_options::string_options ( string_options const & other)

Copy construction.

◆ string_options() [3/3]

Default initialization.

Postconditions:
  • All supported fields are "unset" or zero-initialized.

Member Function Documentation

◆ case_sensitive() [1/2]

Return the current "caseSensitive" field.

◆ case_sensitive() [2/2]

Set the "caseSensitive" field.

◆ diacritic_sensitive() [1/2]

Return the current "diacriticSensitive" field.

◆ diacritic_sensitive() [2/2]

Set the "diacriticSensitive" field.

◆ operator=() [1/2]

string_options & mongocxx::v1::string_options::operator= ( string_options && other)
noexcept

Move assignment.

Postconditions:
  • other is in an assign-or-destroy-only state.

◆ operator=() [2/2]

string_options & mongocxx::v1::string_options::operator= ( string_options const & other)

Copy assignment.

◆ prefix_opts() [1/2]

Return the current "prefix" field.

◆ prefix_opts() [2/2]

◆ substring_opts() [1/2]

Return the current "substring" field.

◆ substring_opts() [2/2]

◆ suffix_opts() [1/2]

Return the current "suffix" field.

◆ suffix_opts() [2/2]


The documentation for this class was generated from the following file: