CatapultServer  v0.5.0.1 (Elephant)
catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification > Struct Template Reference

Binary layout for a basic account restriction transaction body. More...

Inheritance diagram for catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >:
Collaboration diagram for catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >:

Static Public Member Functions

static constexpr uint64_t CalculateRealSize (const TransactionType &transaction) noexcept
 

Public Attributes

AccountRestrictionType RestrictionType
 Account restriction type. More...
 
uint8_t ModificationsCount
 Number of modifications. More...
 

Private Types

using TransactionType = BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >
 

Static Private Member Functions

template<typename T >
static auto * ModificationsPtrT (T &transaction)
 

Detailed Description

template<typename THeader, typename TAccountRestrictionModification>
struct catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >

Binary layout for a basic account restriction transaction body.

Member Typedef Documentation

◆ TransactionType

template<typename THeader , typename TAccountRestrictionModification >
using catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >::TransactionType = BasicAccountRestrictionTransactionBody<THeader, TAccountRestrictionModification>
private

Member Function Documentation

◆ CalculateRealSize()

template<typename THeader , typename TAccountRestrictionModification >
static constexpr uint64_t catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >::CalculateRealSize ( const TransactionType transaction)
inlinestaticconstexprnoexcept

◆ ModificationsPtrT()

template<typename THeader , typename TAccountRestrictionModification >
template<typename T >
static auto* catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >::ModificationsPtrT ( T &  transaction)
inlinestaticprivate

Member Data Documentation

◆ ModificationsCount

template<typename THeader , typename TAccountRestrictionModification >
uint8_t catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >::ModificationsCount

Number of modifications.

◆ RestrictionType

template<typename THeader , typename TAccountRestrictionModification >
AccountRestrictionType catapult::model::BasicAccountRestrictionTransactionBody< THeader, TAccountRestrictionModification >::RestrictionType

Account restriction type.


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