19#ifndef CPPREALM_BRIDGE_OBJECT_HPP
20#define CPPREALM_BRIDGE_OBJECT_HPP
25#include <unordered_map>
27#include <cpprealm/internal/bridge/utils.hpp>
32 class CollectionChangeCallback;
33 struct CollectionChangeSet;
34 structNotificationToken ;
36命名空间realm::internal::bridge {
53 操作符NotificationToken()
const ;
56#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
57 storage::NotificationToken m_token[ 1 ];
59 std::shared_ptr<NotificationToken> m_token;
71 [[nodiscard]]
bool empty()
const ;
82 size_t Operator*()
const noException ;
92#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
93 存储::IndexSet_IndexIterator m_iterator[ 1 ];
95 std::shared_ptr<std::any> m_iterator;
112#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
113 存储::IndexSet_IndexIteratableAdaptor m_index_iterable_adaptor[ 1 ];
115 std::shared_ptr<std::any> m_index_iterable_adaptor;
120#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
121 storage::IndexSet m_idx_set[1];
123 std::shared_ptr<IndexSet> m_idx_set;
134 操作符 CollectionChangeSet()
const ;
136 [[nodiscard]]
index_set modifications()
const;
138 [[nodiscard]] std::unordered_map<int 64 _t, index_set>columns()
const ;
139 [[nodiscard]]
bool empty()
const ;
140 [[nodiscard]]
bool collection_root_was_deleted()
const ;
142#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
143 storage::CollectionChangeSet m_change_set[ 1 ];
145 std::shared_ptr<CollectionChangeSet> m_change_set;
156 对象 (
const 对象 & other) ;
157 object & Operator=(
const object & other);
159 对象 & 操作符=(
对象 && other);
167 [[nodiscard]]
obj get_obj()
const;
169 [[nodiscard]]
域 get_realm()
const ;
171 [[nodiscard]]
bool is_valid()
const ;
173 notification_token add_notification_callback(std::shared_ptr<collection_change_callback>&& cb);
177 [[nodiscard]]
list get_list(
const col_key &)
const ;
178 [[nodiscard]]
字典get_dictionary(
const col_key &)
const ;
180#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
181 存储::Object m_object[ 1 ];
183 std::shared_ptr<Object> m_object;
定义: object_schema.hpp: 33