microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
remote_layout_accessor.hpp File Reference

Reusable callback and typed-offset accessors for remote layouts. More...

#include "address_space.hpp"
#include <cstddef>
#include <limits>
#include <type_traits>
Include dependency graph for remote_layout_accessor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  microfmt::remote_layout_offset< Stored >
 Describes a property stored at a fixed offset in a remote object. More...
 
class  microfmt::remote_layout_accessor< Value, Callback >
 Reads a remote layout property through a retained callback. More...
 
class  microfmt::remote_layout_accessor< Value, remote_layout_offset< Stored > >
 Reads a remote layout property from a typed fixed offset. More...
 
class  microfmt::remote_layout_query< Value, Source >
 Uniform query wrapper around callback and typed-offset accessors. More...
 

Namespaces

namespace  microfmt
 
namespace  microfmt::detail
 

Functions

template<typename To , typename From >
constexpr bool microfmt::detail::convert_remote_layout_value (From value, To &out) noexcept
 
template<typename Value , typename Callback >
constexpr auto microfmt::make_remote_layout_query (Callback callback) noexcept
 Creates a query backed by a callback retained by value.
 
template<typename Value , typename Stored = Value>
constexpr auto microfmt::make_remote_offset_query (ptrdiff_t offset) noexcept
 Creates a query backed by a typed remote-object offset.
 

Detailed Description

Reusable callback and typed-offset accessors for remote layouts.