#include <datapack.h>
api::graph::DistributedId Serializer specialization.
| Serialization Scheme || | distributed_id.rank() | distributed_id.id() |
◆ size() [1/2]
template<typename PackType >
Returns the buffer size required to serialize a DistributedId instance, i.e. p.size<int>()+p.size<FPMAS_ID_TYPE>
.
◆ size() [2/2]
template<typename PackType >
◆ to_datapack()
template<typename PackType >
Serializes id
to pack
.
- Parameters
-
◆ from_datapack()
template<typename PackType >
Unserializes a DistributedId from pack
.
- Parameters
-
- Returns
- unserialized DistributedId
The documentation for this struct was generated from the following file: