Open 3D Engine GridMate API Reference  2205.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Public Types | Public Member Functions | Protected Attributes | List of all members
GridMate::ContainerMarshaler< Container, DataMarshaler > Class Template Reference

#include <ContainerMarshal.h>

Public Types

typedef Container DataType
 

Public Member Functions

 ContainerMarshaler (DataMarshaler marshaler=DataMarshaler())
 
AZ_FORCE_INLINE void Marshal (WriteBuffer &wb, const Container &container) const
 
AZ_FORCE_INLINE void Unmarshal (Container &container, ReadBuffer &rb) const
 

Protected Attributes

DataMarshaler m_marshaler
 

Detailed Description

template<class Container, class DataMarshaler = Marshaler<typename Container::value_type>>
class GridMate::ContainerMarshaler< Container, DataMarshaler >

Explicit container marshaler. Use this when you want the value type in a container to be serialized with a non-default marshaler. Compatible with array, vector, set and list.


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