19#ifndef CPPREALM_BRIDGE_OBJECT_HPP
20#define CPPREALM_BRIDGE_OBJECT_HPP
25#include <unordered_map>
27#include <cprealm/internal/bridge/utils.hpp>
32 classe CollectionChangeCallback;
33 struct CollectionChangeSet;
34 struct NotificationToken;
36namespace realm::internal::bridge {
40 estrutura object_schema;
43 dicionário
estruturado ;
53 operador NotificationToken()
const;
56#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
57 storage::NotificationToken m_token[1];
59 std::shared_ptr<NotificationToken> m_token;
71 [[nodiscard]]
bool empty()
const;
82 operador
size_t *()
const noexceto;
92#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
93 armazenamento::IndexSet_IndexIterator m_iterator[1];
95 std::shared_ptr<std::any> m_iterator;
109 end ()
const noexceto;
112#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
113 armazenamento::IndexSet_IndexIteratableAdaptor m_index_iterable_adaptor[1];
115 std::shared_ptr<std::any> m_index_iterable_adaptor;
120#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
121 storage::IndexSet m_idx_set[1];
123 std::shared_ptr<IndexSet> m_idx_set;
134 operador CollectionChangeSet()
const;
136 [[nodiscard]]
index_set modifications()
const;
138 [[nodiscard]] std::unordered_map<int64_t, index_set> column()
const;
139 [[nodiscard]]
bool empty()
const;
140 [[nodiscard]]
bool collection_root_was_deleted()
const;
142#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
143 armazenamento::CollectionChangeSet m_change_set[1];
145 std::shared_ptr<CollectionChangeSet> m_change_set;
156 objeto(
objeto conste outro);
157 object& operator=(
objeto const& other);
159 objeto& operator=(
objeto&& outro);
165 operador Object()
const;
167 [[nodiscard]]
obj get_obj()
const;
169 [[nodiscard]]
Realm get_realm()
const;
171 [[nodiscard]]
bool is_valid()
const;
173 notification_token add_notification_callback(std::shared_ptr<collection_change_callback>&& cb);
180#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
181 armazenamento::Object m_object[1];
183 std::shared_ptr<Object> m_object;
Definição: col_key.hpp:28
Definição: object.hpp:148
Definição: object.hpp:126
Definição: dictionary.hpp:138
Definição: obj_key.hpp:53
Definição: object_schema.hpp:33
Definição: object.hpp:154