microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Member Functions | List of all members
microfmt::remote_object_view Class Reference

#include <remote_object.hpp>

Public Member Functions

template<typename T >
constexpr remote_object_view (uintptr_t addr, address_space_ref space, type_tag< T >, span< std::byte > scratch RELOCO_LIFETIMEBOUND) noexcept
 
constexpr remote_object_view (uintptr_t addr, address_space_ref space, span< const remote_field_desc > fields RELOCO_LIFETIMEBOUND, size_t struct_size, size_t struct_align, span< std::byte > scratch RELOCO_LIFETIMEBOUND) noexcept
 
constexpr uintptr_t address () const noexcept
 
constexpr address_space_ref space () const noexcept
 
constexpr span< const remote_field_desc > fields () const noexcept RELOCO_LIFETIMEBOUND
 
constexpr size_t struct_size () const noexcept
 
constexpr span< std::byte > scratch () const noexcept RELOCO_LIFETIMEBOUND
 
constexpr bool is_null () const noexcept
 
RELOCO_BEGIN_UNSAFE_CODE expected< const void *, remote_load_error > load_raw () const noexcept
 

Constructor & Destructor Documentation

◆ remote_object_view() [1/2]

template<typename T >
constexpr microfmt::remote_object_view::remote_object_view ( uintptr_t  addr,
address_space_ref  space,
type_tag< T >  ,
span< std::byte > scratch  RELOCO_LIFETIMEBOUND 
)
inlineconstexprnoexcept

◆ remote_object_view() [2/2]

constexpr microfmt::remote_object_view::remote_object_view ( uintptr_t  addr,
address_space_ref  space,
span< const remote_field_desc > fields  RELOCO_LIFETIMEBOUND,
size_t  struct_size,
size_t  struct_align,
span< std::byte > scratch  RELOCO_LIFETIMEBOUND 
)
inlineconstexprnoexcept

Member Function Documentation

◆ address()

constexpr uintptr_t microfmt::remote_object_view::address ( ) const
inlineconstexprnoexcept

◆ fields()

constexpr span< const remote_field_desc > microfmt::remote_object_view::fields ( ) const
inlineconstexprnoexcept

◆ is_null()

constexpr bool microfmt::remote_object_view::is_null ( ) const
inlineconstexprnoexcept

◆ load_raw()

RELOCO_BEGIN_UNSAFE_CODE expected< const void *, remote_load_error > microfmt::remote_object_view::load_raw ( ) const
inlinenoexcept

◆ scratch()

constexpr span< std::byte > microfmt::remote_object_view::scratch ( ) const
inlineconstexprnoexcept

◆ space()

constexpr address_space_ref microfmt::remote_object_view::space ( ) const
inlineconstexprnoexcept

◆ struct_size()

constexpr size_t microfmt::remote_object_view::struct_size ( ) const
inlineconstexprnoexcept

The documentation for this class was generated from the following file: