19#ifndef CPPREALM_MANAGED_UUID_HPP
20#define CPPREALM_MANAGED_UUID_HPP
22#include <cpprealm/macros.hpp>
23#include <cpprealm/types.hpp>
36 return m_obj->template get<realm::internal::bridge::uuid>(m_key).operator ::realm::uuid();
57 template<
typename,
typename>
63 using value_type = std::optional<realm::uuid>;
64 using managed<std::optional<realm::uuid>>::managed_base::operator=;
66 [[nodiscard]] std::optional<realm::uuid> detach()
const {
67 auto v = m_obj->template get_optional<realm::internal::bridge::uuid>(m_key);
69 return v.value().operator ::realm::uuid();
75 [[nodiscard]] std::optional<realm::uuid> operator *()
const {
79 [[nodiscard]]
operator std::optional<realm::uuid>()
const {
84 rbool operator==(
const std::optional<realm::uuid>& rhs)
const noexcept;
85 rbool operator!=(
const std::optional<realm::uuid>& rhs)
const noexcept;
93 template<
typename,
typename>
Definition: macros.hpp:286