Realm C++ SDK Version v2.2.0
Public Member Functions | Friends | List of all members

realm::internal::bridge::obj Struct Reference

Public Member Functions

 obj (const obj &other)
 
objoperator= (const obj &other)
 
 obj (obj &&other)
 
objoperator= (obj &&other)
 
 obj (const Obj &)
 
 operator Obj () const
 
table get_table () const noexcept
 
table get_target_table (col_key) const noexcept
 
bool is_null (const col_key &col_key) const
 
bool is_valid () const
 
obj get_linked_object (const col_key &col_key)
 
template<typename T >
get (const col_key &col_key) const
 
template<typename T >
std::optional< T > get_optional (const col_key &col_key) const
 
void set (const col_key &col_key, const int64_t &value)
 
void set (const col_key &col_key, const double &value)
 
void set (const col_key &col_key, const std::string &value)
 
void set (const col_key &col_key, const mixed &value)
 
void set (const col_key &col_key, const bool &value)
 
void set (const col_key &col_key, const timestamp &value)
 
void set (const col_key &col_key, const binary &value)
 
void set (const col_key &col_key, const uuid &value)
 
void set (const col_key &col_key, const object_id &value)
 
void set (const col_key &col_key, const decimal128 &value)
 
void set (const col_key &col_key, const obj_key &value)
 
void set (const col_key &col_key, const std::chrono::time_point< std::chrono::system_clock > &value)
 
template<typename T >
std::enable_if_t< std::is_enum_v< T > > set (const col_key &col_key, const T &value)
 
template<typename T >
void set (const col_key &col_key, const std::optional< T > &value)
 
void set_list_values (const col_key &col_key, const std::vector< obj_key > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::string > &values)
 
void set_list_values (const col_key &col_key, const std::vector< bool > &values)
 
void set_list_values (const col_key &col_key, const std::vector< int64_t > &values)
 
void set_list_values (const col_key &col_key, const std::vector< double > &values)
 
void set_list_values (const col_key &col_key, const std::vector< internal::bridge::uuid > &values)
 
void set_list_values (const col_key &col_key, const std::vector< internal::bridge::object_id > &values)
 
void set_list_values (const col_key &col_key, const std::vector< internal::bridge::decimal128 > &values)
 
void set_list_values (const col_key &col_key, const std::vector< binary > &values)
 
void set_list_values (const col_key &col_key, const std::vector< mixed > &values)
 
void set_list_values (const col_key &col_key, const std::vector< timestamp > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< int64_t > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< bool > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< double > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< std::string > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< obj_key > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< internal::bridge::uuid > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< internal::bridge::object_id > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< binary > > &values)
 
void set_list_values (const col_key &col_key, const std::vector< std::optional< timestamp > > &values)
 
template<typename ValueType >
void set_list_values (const col_key &col_key, const std::vector< ValueType > &values)
 
obj_key get_key () const
 
obj_link get_link () const
 
lnklst get_linklist (const col_key &col_key)
 
core_dictionary get_dictionary (const col_key &col_key)
 
void set_null (const col_key &)
 
obj create_and_set_linked_object (const col_key &)
 
table_view get_backlink_view (table, col_key)
 
void to_json (std::ostream &out) const noexcept
 

Friends

const Obj * get_obj (const obj &)
 
Obj * get_obj (obj &)
 
template<typename T >
get (const obj &, const col_key &col_key)
 

The documentation for this struct was generated from the following files: