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 236 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 241 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 239 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 242 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 243 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 247 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 246 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 245 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 238 of file serialize_core.hh.


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