openMSX
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
openmsx::serialize_as_collection< std::array< T, N > > Struct Template Reference

#include <serialize_core.hh>

Inheritance diagram for openmsx::serialize_as_collection< std::array< T, N > >:
Inheritance graph
[legend]
Collaboration diagram for openmsx::serialize_as_collection< std::array< T, N > >:
Collaboration graph
[legend]

Public Types

using value_type = T
 
using const_iterator = typename std::array< T, N >::const_iterator
 

Static Public Member Functions

static auto begin (const std::array< T, N > &a)
 
static auto end (const std::array< T, N > &a)
 
static void prepare (std::array< T, N > &, int)
 
static T * output (std::array< T, N > &a)
 

Static Public Attributes

static constexpr int size = N
 
static constexpr bool loadInPlace = true
 

Detailed Description

template<typename T, size_t N>
struct openmsx::serialize_as_collection< std::array< T, N > >

Definition at line 327 of file serialize_core.hh.

Member Typedef Documentation

◆ const_iterator

template<typename T , size_t N>
using openmsx::serialize_as_collection< std::array< T, N > >::const_iterator = typename std::array<T, N>::const_iterator

Definition at line 332 of file serialize_core.hh.

◆ value_type

template<typename T , size_t N>
using openmsx::serialize_as_collection< std::array< T, N > >::value_type = T

Definition at line 330 of file serialize_core.hh.

Member Function Documentation

◆ begin()

template<typename T , size_t N>
static auto openmsx::serialize_as_collection< std::array< T, N > >::begin ( const std::array< T, N > &  a)
inlinestatic

Definition at line 333 of file serialize_core.hh.

◆ end()

template<typename T , size_t N>
static auto openmsx::serialize_as_collection< std::array< T, N > >::end ( const std::array< T, N > &  a)
inlinestatic

Definition at line 334 of file serialize_core.hh.

◆ output()

template<typename T , size_t N>
static T * openmsx::serialize_as_collection< std::array< T, N > >::output ( std::array< T, N > &  a)
inlinestatic

Definition at line 338 of file serialize_core.hh.

◆ prepare()

template<typename T , size_t N>
static void openmsx::serialize_as_collection< std::array< T, N > >::prepare ( std::array< T, N > &  ,
int   
)
inlinestatic

Definition at line 337 of file serialize_core.hh.

Member Data Documentation

◆ loadInPlace

template<typename T , size_t N>
constexpr bool openmsx::serialize_as_collection< std::array< T, N > >::loadInPlace = true
staticconstexpr

Definition at line 336 of file serialize_core.hh.

◆ size

template<typename T , size_t N>
constexpr int openmsx::serialize_as_collection< std::array< T, N > >::size = N
staticconstexpr

Definition at line 329 of file serialize_core.hh.


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