CatapultServer  v0.5.0.1 (Elephant)
catapult::state::LockInfoSerializer< TLockInfo, TLockInfoSerializer > Struct Template Reference

Policy for saving and loading lock info data. More...

Static Public Member Functions

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

Detailed Description

template<typename TLockInfo, typename TLockInfoSerializer>
struct catapult::state::LockInfoSerializer< TLockInfo, TLockInfoSerializer >

Policy for saving and loading lock info data.

Member Function Documentation

◆ Load()

template<typename TLockInfo, typename TLockInfoSerializer>
static TLockInfo catapult::state::LockInfoSerializer< TLockInfo, TLockInfoSerializer >::Load ( io::InputStream input)
inlinestatic

Loads a single value from input.

◆ Save()

template<typename TLockInfo, typename TLockInfoSerializer>
static void catapult::state::LockInfoSerializer< TLockInfo, TLockInfoSerializer >::Save ( const TLockInfo &  lockInfo,
io::OutputStream output 
)
inlinestatic

Saves lockInfo to output.


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