CatapultServer  v0.5.0.1 (Elephant)
catapult::state::AccountRestrictionsSerializer Struct Reference

Policy for saving and loading account restrictions data. More...

Inheritance diagram for catapult::state::AccountRestrictionsSerializer:

Static Public Member Functions

static void Save (const AccountRestrictions &restrictions, io::OutputStream &output)
 Saves restrictions to output. More...
 
static AccountRestrictions Load (io::InputStream &input)
 Loads a single value from input. More...
 

Static Public Attributes

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

Detailed Description

Policy for saving and loading account restrictions data.

Member Function Documentation

◆ Load()

AccountRestrictions catapult::state::AccountRestrictionsSerializer::Load ( io::InputStream input)
static

Loads a single value from input.

Here is the call graph for this function:

◆ Save()

void catapult::state::AccountRestrictionsSerializer::Save ( const AccountRestrictions restrictions,
io::OutputStream output 
)
static

Saves restrictions to output.

Here is the call graph for this function:

Member Data Documentation

◆ State_Version

constexpr uint16_t catapult::state::AccountRestrictionsSerializer::State_Version = 1
staticconstexpr

Serialized state version.


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