CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::NamespaceFlatMapTypesSerializer Struct Reference

Serializer for namespace flat map sub cache. More...

Static Public Member Functions

static std::string SerializeValue (const ValueType &value)
 Serializes element to string. More...
 
static ValueType DeserializeValue (const RawBuffer &buffer)
 Deserializes value from buffer. More...
 

Static Public Attributes

static constexpr uint16_t State_Version = 1
 Serialized state version. More...
 

Private Types

using KeyType = NamespaceId
 
using ValueType = state::Namespace
 

Detailed Description

Serializer for namespace flat map sub cache.

Member Typedef Documentation

◆ KeyType

◆ ValueType

Member Function Documentation

◆ DeserializeValue()

state::Namespace catapult::cache::NamespaceFlatMapTypesSerializer::DeserializeValue ( const RawBuffer &  buffer)
static

Deserializes value from buffer.

Here is the call graph for this function:

◆ SerializeValue()

std::string catapult::cache::NamespaceFlatMapTypesSerializer::SerializeValue ( const ValueType value)
static

Serializes element to string.

Here is the call graph for this function:

Member Data Documentation

◆ State_Version

constexpr uint16_t catapult::cache::NamespaceFlatMapTypesSerializer::State_Version = 1
staticconstexpr

Serialized state version.


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