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

#include <serialize_stl.hh>

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

Public Types

using output_iterator = typename std::back_insert_iterator< circular_buffer< T > >
 
- Public Types inherited from openmsx::serialize_as_stl_collection< cb_queue< T > >
using value_type = typename cb_queue< T > ::value_type
 
using const_iterator = typename cb_queue< T > ::const_iterator
 
using output_iterator = typename std::insert_iterator< cb_queue< T > >
 

Static Public Member Functions

static void prepare (cb_queue< T > &q, int n)
 
static output_iterator output (cb_queue< T > &q)
 
- Static Public Member Functions inherited from openmsx::serialize_as_stl_collection< cb_queue< T > >
static const_iterator begin (const cb_queue< T > &t)
 
static const_iterator end (const cb_queue< T > &t)
 
static void prepare (cb_queue< T > &t, int)
 
static output_iterator output (cb_queue< T > &t)
 

Additional Inherited Members

- Static Public Attributes inherited from openmsx::serialize_as_stl_collection< cb_queue< T > >
static const int size
 
static const bool loadInPlace
 

Detailed Description

template<typename T>
struct openmsx::serialize_as_collection< cb_queue< T > >

Definition at line 61 of file serialize_stl.hh.

Member Typedef Documentation

◆ output_iterator

template<typename T >
using openmsx::serialize_as_collection< cb_queue< T > >::output_iterator = typename std::back_insert_iterator<circular_buffer<T> >

Definition at line 65 of file serialize_stl.hh.

Member Function Documentation

◆ output()

template<typename T >
static output_iterator openmsx::serialize_as_collection< cb_queue< T > >::output ( cb_queue< T > &  q)
inlinestatic

Definition at line 69 of file serialize_stl.hh.

References cb_queue< T >::getBuffer().

◆ prepare()

template<typename T >
static void openmsx::serialize_as_collection< cb_queue< T > >::prepare ( cb_queue< T > &  q,
int  n 
)
inlinestatic

Definition at line 66 of file serialize_stl.hh.

References cb_queue< T >::clear(), and cb_queue< T >::getBuffer().


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