19#ifndef CPPREALM_BRIDGE_SET_HPP
20#define CPPREALM_BRIDGE_SET_HPP
26#include <cpprealm/internal/bridge/utils.hpp>
34命名空间realm::internal::bridge {
45 struct notification_token;
46 struct collection_change_callback;
51 set & Operator=(
const set & other) ;
53 设立 & 操作符=(
设立 && other);
55 设立 (
const object_store::Set&);
56 操作符 object_store::Set()
const ;
59 混合get_any(
const size_t & i)
const ;
60 obj get_obj(
const size_t & i)
const ;
62 [[nodiscard]]
size_t size()
const ;
67 std::pair<size_t, bool> insert(
const std::string&);
68 std::pair<size_t, bool> insert(
const int 64 _t &);
69 std::pair<size_t, bool> insert(
const double &);
70 std::pair<size_t, bool> insert(
const bool &);
71 std::pair<size_t, bool> insert(
const binary &);
72 std::pair<size_t, bool> insert(
const uuid &);
73 std::pair<size_t, bool> insert(
const object_id &);
74 std::pair<size_t, bool> insert(
const Mixed &);
75 std::pair<size_t, bool> insert(
const obj_key &);
76 std::pair<size_t, bool> insert(
const timestamp &);
78 void remove(
const int 64 _t &);
79 void remove(
const bool &);
80 void 删除(
const double &);
81 void 删除(
const std::string &);
82 void remove(
const uuid &);
84 void 删除(
const Mixed &);
89 size_t find(
const int 64 _t &);
90 size_t find(
const bool &);
91 size_t find(
const double &);
92 size_t find(
const std::string &);
93 size_t find(
const uuid &);
95 size_t find(
const Mixed &);
97 size_t find(
const binary &);
99 notification_token add_notification_callback(std::shared_ptr<collection_change_callback>);
101 const object_store::Set* get_set()
const ;
102 object_store::Set* get_set();
103#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
106 std::shared_ptr<object_store::Set> m_set;