fpmas 1.5
Static Public Member Functions | List of all members
fpmas::io::datapack::Serializer< graph::detail::LocalizedNodeView< T > > Struct Template Reference

#include <clustered_graph_builder.h>

Static Public Member Functions

static std::size_t size (const ObjectPack &p, const graph::detail::LocalizedNodeView< T > &)
 
static void to_datapack (ObjectPack &pack, const graph::detail::LocalizedNodeView< T > &node)
 
static graph::detail::LocalizedNodeView< T > from_datapack (const ObjectPack &pack)
 

Detailed Description

template<typename T>
struct fpmas::io::datapack::Serializer< graph::detail::LocalizedNodeView< T > >

fpmas::graph::detail::LocalizedNodeView ObjectPack serializer

Serialization Scheme
Point::x Point::y DistributedId int (location rank)

Member Function Documentation

◆ size()

template<typename T >
static std::size_t fpmas::io::datapack::Serializer< graph::detail::LocalizedNodeView< T > >::size ( const ObjectPack p,
const graph::detail::LocalizedNodeView< T > &   
)
inlinestatic

Returns the buffer size required to serialize a LocalizedNodeView into p.

◆ to_datapack()

template<typename T >
static void fpmas::io::datapack::Serializer< graph::detail::LocalizedNodeView< T > >::to_datapack ( ObjectPack pack,
const graph::detail::LocalizedNodeView< T > &  node 
)
inlinestatic

Serializes node to pack.

Parameters
packdestination pack
nodenode view to serialize

◆ from_datapack()

template<typename T >
static graph::detail::LocalizedNodeView< T > fpmas::io::datapack::Serializer< graph::detail::LocalizedNodeView< T > >::from_datapack ( const ObjectPack pack)
inlinestatic

Unserializes a LocalizedNodeView from pack.

Parameters
packsource pack
Returns
deserialized node view

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