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

#include <serialize_core.hh>

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

Public Types

using value_type = T
 
using const_iterator = const T *
 

Static Public Member Functions

static const T * begin (const T(&array)[N])
 
static const T * end (const T(&array)[N])
 
static void prepare (T(&)[N], int)
 
static T * output (T(&array)[N])
 

Static Public Attributes

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

Detailed Description

template<typename T, int N>
struct openmsx::serialize_as_collection< T[N]>

Definition at line 326 of file serialize_core.hh.

Member Typedef Documentation

◆ const_iterator

template<typename T , int N>
using openmsx::serialize_as_collection< T[N]>::const_iterator = const T*

Definition at line 331 of file serialize_core.hh.

◆ value_type

template<typename T , int N>
using openmsx::serialize_as_collection< T[N]>::value_type = T

Definition at line 329 of file serialize_core.hh.

Member Function Documentation

◆ begin()

template<typename T , int N>
static const T* openmsx::serialize_as_collection< T[N]>::begin ( const T(&)  array[N])
inlinestatic

Definition at line 332 of file serialize_core.hh.

◆ end()

template<typename T , int N>
static const T* openmsx::serialize_as_collection< T[N]>::end ( const T(&)  array[N])
inlinestatic

Definition at line 333 of file serialize_core.hh.

References openmsx::N.

◆ output()

template<typename T , int N>
static T* openmsx::serialize_as_collection< T[N]>::output ( T(&)  array[N])
inlinestatic

Definition at line 337 of file serialize_core.hh.

◆ prepare()

template<typename T , int N>
static void openmsx::serialize_as_collection< T[N]>::prepare ( T(&)  [N],
int   
)
inlinestatic

Definition at line 336 of file serialize_core.hh.

Member Data Documentation

◆ loadInPlace

template<typename T , int N>
constexpr bool openmsx::serialize_as_collection< T[N]>::loadInPlace = true
staticconstexpr

Definition at line 335 of file serialize_core.hh.

◆ size

template<typename T , int N>
constexpr int openmsx::serialize_as_collection< T[N]>::size = N
staticconstexpr

Definition at line 328 of file serialize_core.hh.


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