fidl::ObjectView

Summary

Constructors and Destructors

ObjectView()
ObjectView(AnyArena & allocator, Args &&... args)
ObjectView(AnyArena & allocator, T && obj)
ObjectView(AnyArena & allocator, const T & obj)
ObjectView(std::nullptr_t)

Public functions

Allocate(AnyArena & allocator, Args &&... args)
void
get() const noexcept
T *
operator bool() const noexcept
operator!=(std::nullptr_t) const noexcept
bool
operator*() const
U &
operator->() const noexcept
U *
operator==(std::nullptr_t) const noexcept
bool

Public static functions

FromExternal(T *from)
ObjectView< T >

Public functions

Allocate

void Allocate(
  AnyArena & allocator,
  Args &&... args
)

ObjectView

 ObjectView()=default

ObjectView

 ObjectView(
  AnyArena & allocator,
  Args &&... args
)

ObjectView

 ObjectView(
  AnyArena & allocator,
  T && obj
)

ObjectView

 ObjectView(
  AnyArena & allocator,
  const T & obj
)

ObjectView

 ObjectView(
  std::nullptr_t
)

get

T * get() const noexcept

operator bool

 operator bool() const noexcept

operator!=

bool operator!=(
  std::nullptr_t
) const noexcept

operator*

U & operator*() const 

operator->

U * operator->() const noexcept

operator==

bool operator==(
  std::nullptr_t
) const noexcept

Public static functions

FromExternal

ObjectView< T > FromExternal(
  T *from
)