19#ifndef CPPREALM_BRIDGE_RESULTS_HPP
20#define CPPREALM_BRIDGE_RESULTS_HPP
23#include <cpprealm/internal/bridge/obj.hpp>
24#include <cpprealm/internal/bridge/utils.hpp>
29命名空间realm::internal::bridge {
33 struct notification_token;
35 struct collection_change_set;
43 操作符 std::pair<std::string, bool>()
const ;
49 Results & Operator=(
const Results & other) ;
57 [[nodiscard]]
域 get_realm()
const ;
58 [[nodiscard]]
table get_table()
const ;
59 结果(
const 域 &,
const 查询 &);
60 结果排序(
const std::vector<sort_descriptor>&);
61 notification_token add_notification_callback(std::shared_ptr<collection_change_callback>&&);
63 template <
typename T>
64 好友T get(
结果&,
size_t );
65#ifdef CPPREALM_HAVE_GENERATED_BRIDGE_TYPES
66 存储::Results m_results[ 1 ];
68 std::shared_ptr<Results> m_results;
72 template <
typename T>
75 obj get(
结果&,
size_t );
77 int 64 _t get(
结果&,
size_t );
81 double get(
Results &,
size_t );
83 std::string get(
结果&,
size_t );
91 std::vector<uint 8 _t> get(
结果&,
size_t );
93 std::chrono::time_point<std::chrono::system_clock> get(
results &,
size_t );