19#ifndef CPPREALM_BRIDGE_LIST_HPP
20#define CPPREALM_BRIDGE_LIST_HPP
26#include <cprealm/internal/bridge/utils.hpp>
32namespace realm::internal::bridge {
42 carimbo de data/hora
da estrutura ;
44 change notification_token;
45 collection_change_callback de
estrutura ;
46 estrutura de resultados;
47 struct sort_descriptor;
57 operador List()
const;
60 [[nodiscard]]
size_t size()
const;
61 removedor
nulo (
size_t idx);
66 add(
const std ::string&);
79 vazio set(
size_t pos,
const int64_t &);
80 vazio set(
size_t pos,
const double &);
81 vazio set(
size_t pos,
const bool &);
82 vazio set(
size_t pos,
const std::string &);
83 vazio set(
size_t pos,
const uuid &);
86 vazio set(
size_t pos,
const mixed &);
90 size_t find(
const int64_t &);
91 size_t find(
bool const &);
92 size_t find(
const double &);
93 size_t find(
const std::string &);
94 size_t find(
const uuid &);
97 size_t find(
const mixed &);
102 classificação de
resultados (
const std::vector<sort_descriptor>&);
103 [[nodiscard]]
resulta as_results()
const;
105 notification_token add_notification_callback(std::shared_ptr<collection_change_callback>);
107 modelo <
typename ValueType>
108 valueType get(
listaconst &,
size_t idx);
109 amigo Lista
embutida * get_list(
lista& lst);
111 inline :: Realm::List* get_list();
112 inline const :: Realm::List* get_list()
const;
113#ifdef CPPREALM_HVE_GENERATED_BRIDGE_TYPes
114 storage::List m_list[1];
116 std::shared_ptr<::realm::List> m_list;
120 modelo <
typename ValueType>
121 [[nodiscard]] ValueType get(
listaconst &,
size_t idx);
123 [[nodiscard]] std::string get(
const list&,
size_t idx);
125 [[nodiscard]] int64_t get(
listaconst &,
size_t idx);
127 [[nodiscard]]
double get(
listaconst &,
size_t idx);
129 [[nodiscard]]
binary get(
const list&,
size_t idx);
131 [[nodiscard]]
uuid get(
const list&,
size_t idx);
137 [[nodiscard]]
mixed get(
const list&,
size_t idx);
139 [[nodiscard]]
obj get(
const list&,
size_t idx);
142 [[nodiscard]] std::optional <int64_t> get(
const list& lst,
size_t idx);
144 [[nodiscard]] std::optional<double> get(
const list& lst,
size_t idx);
146 [[nodiscard]] std::optional<bool> get(
const list& lst,
size_t idx);
148 [[nodiscard]] std::optional<uuid> get(
const list& lst,
size_t idx);
150 [[nodiscard]] std::optional<object_id> get(
const list& lst,
size_t idx);
152 [[nodiscard]] std::optional<std::string> get(
const list& lst,
size_t idx);
154 [[nodiscard]] std::optional<binary> get(
const list& lst,
size_t idx);
156 [[nodiscard]] std::optional<timestamp> get(
const list& lst,
size_t idx);
Definição: col_key.hpp:28
Definição: decimal128.hpp:30
Definição: obj_key.hpp:33
Definição: object_id.hpp:31
Definição: results.hpp:46
Definição: timestamp.hpp:30