Thrill  0.1
TupleSerialization< Archive, RevIndex, Args > Struct Template Reference

Detailed Description

template<typename Archive, size_t RevIndex, typename... Args>
struct thrill::data::detail::TupleSerialization< Archive, RevIndex, Args >

Definition at line 99 of file serialization.hpp.

#include <serialization.hpp>

Public Types

using ThisElemType = typename std::tuple_element< Index, std::tuple< Args... > >::type
 

Static Public Member Functions

static void Serialize (const std::tuple< Args... > &x, Archive &ar)
 

Static Public Attributes

static constexpr size_t fixed_size
 
static constexpr size_t Index = sizeof ... (Args) - RevIndex
 
static constexpr bool is_fixed_size
 

Member Typedef Documentation

◆ ThisElemType

using ThisElemType = typename std::tuple_element<Index, std::tuple<Args...> >::type

Definition at line 104 of file serialization.hpp.

Member Function Documentation

◆ Serialize()

static void Serialize ( const std::tuple< Args... > &  x,
Archive &  ar 
)
inlinestatic

Definition at line 106 of file serialization.hpp.

Member Data Documentation

◆ fixed_size

constexpr size_t fixed_size
static
Initial value:
=
Serialization<Archive, ThisElemType>::fixed_size
+ TupleSerialization<Archive, RevIndex - 1, Args...>::fixed_size

Definition at line 117 of file serialization.hpp.

◆ Index

constexpr size_t Index = sizeof ... (Args) - RevIndex
static

Definition at line 101 of file serialization.hpp.

◆ is_fixed_size

constexpr bool is_fixed_size
static
Initial value:
= Serialization<Archive, ThisElemType>::is_fixed_size
&& TupleSerialization<Archive, RevIndex - 1, Args...>::is_fixed_size

Definition at line 114 of file serialization.hpp.


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