Zserio C++17 runtime library  0.5.0
Built for Zserio 2.17.0
zserio::ArrayTraits< OBJECT, typename > Struct Template Reference

#include <ArrayTraits.h>

Static Public Member Functions

template<typename OBJECT_ = OBJECT, std::enable_if_t< std::is_constructible_v< View< OBJECT_ >, const OBJECT & >, int > = 0>
static View< OBJECT > at (const detail::DummyArrayOwner &, const OBJECT &element, size_t)
 
template<typename OBJECT_ = OBJECT, std::enable_if_t< std::is_constructible_v< View< OBJECT_ >, OBJECT & >, int > = 0>
static View< OBJECT > at (const detail::DummyArrayOwner &, OBJECT &element, size_t)
 
static void read (BitStreamReader &reader, const detail::DummyArrayOwner &, OBJECT &element, size_t)
 
template<typename OBJECT_ = OBJECT>
static std::enable_if_t<!detail::is_delta_context_v< detail::packing_context_type_t< OBJECT_ > > > read (typename detail::ObjectTraits< OBJECT_ >::PackingContext &packingContext, BitStreamReader &reader, const detail::DummyArrayOwner &, OBJECT &element, size_t)
 

Detailed Description

template<typename OBJECT, typename>
struct zserio::ArrayTraits< OBJECT, typename >

Array traits provides various functionality for all zserio and user generated types.

This information is provided via specializations of the ArrayTraits strucure.

Definition at line 120 of file ArrayTraits.h.

Member Function Documentation

◆ at() [1/2]

template<typename OBJECT , typename >
template<typename OBJECT_ = OBJECT, std::enable_if_t< std::is_constructible_v< View< OBJECT_ >, const OBJECT & >, int > = 0>
static View<OBJECT> zserio::ArrayTraits< OBJECT, typename >::at ( const detail::DummyArrayOwner &  ,
const OBJECT &  element,
size_t   
)
inlinestatic

Definition at line 124 of file ArrayTraits.h.

◆ at() [2/2]

template<typename OBJECT , typename >
template<typename OBJECT_ = OBJECT, std::enable_if_t< std::is_constructible_v< View< OBJECT_ >, OBJECT & >, int > = 0>
static View<OBJECT> zserio::ArrayTraits< OBJECT, typename >::at ( const detail::DummyArrayOwner &  ,
OBJECT &  element,
size_t   
)
inlinestatic

Definition at line 131 of file ArrayTraits.h.

◆ read() [1/2]

template<typename OBJECT , typename >
static void zserio::ArrayTraits< OBJECT, typename >::read ( BitStreamReader reader,
const detail::DummyArrayOwner &  ,
OBJECT &  element,
size_t   
)
inlinestatic

Definition at line 136 of file ArrayTraits.h.

◆ read() [2/2]

template<typename OBJECT , typename >
template<typename OBJECT_ = OBJECT>
static std::enable_if_t<!detail::is_delta_context_v<detail::packing_context_type_t<OBJECT_> > > zserio::ArrayTraits< OBJECT, typename >::read ( typename detail::ObjectTraits< OBJECT_ >::PackingContext &  packingContext,
BitStreamReader reader,
const detail::DummyArrayOwner &  ,
OBJECT &  element,
size_t   
)
inlinestatic

Definition at line 142 of file ArrayTraits.h.


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