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 | List of all members
GridMate::MapContainerMarshaler< MapContainer, KeyMarshaler, DataMarshaler > Class Template Reference

#include <ContainerMarshal.h>

Public Types

typedef MapContainer DataType
 

Public Member Functions

 MapContainerMarshaler (KeyMarshaler keyMarshaler=KeyMarshaler(), DataMarshaler dataMarshaler=DataMarshaler())
 
AZ_FORCE_INLINE void Marshal (WriteBuffer &wb, const MapContainer &cont) const
 
AZ_FORCE_INLINE void Unmarshal (MapContainer &cont, ReadBuffer &rb) const
 

Detailed Description

template<class MapContainer, class KeyMarshaler = Marshaler<typename MapContainer::key_type>, class DataMarshaler = Marshaler<typename MapContainer::mapped_type>>
class GridMate::MapContainerMarshaler< MapContainer, KeyMarshaler, DataMarshaler >

Explicit key/value container marshaler. Use this when you want the value type in a container to be serialized with a non-default marshaler. Compatible with ordered and unordered map and multimap.


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