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

Binary layout for a transfer transaction body. More...

Inheritance diagram for catapult::model::TransferTransactionBody< THeader >:
Collaboration diagram for catapult::model::TransferTransactionBody< THeader >:

Static Public Member Functions

static constexpr uint64_t CalculateRealSize (const TransactionType &transaction) noexcept
 

Public Attributes

UnresolvedAddress Recipient
 Transaction recipient. More...
 
uint16_t MessageSize
 Message size in bytes. More...
 
uint8_t MosaicsCount
 Number of mosaics. More...
 

Private Types

using TransactionType = TransferTransactionBody< THeader >
 

Static Private Member Functions

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

Detailed Description

template<typename THeader>
struct catapult::model::TransferTransactionBody< THeader >

Binary layout for a transfer transaction body.

Member Typedef Documentation

◆ TransactionType

template<typename THeader >
using catapult::model::TransferTransactionBody< THeader >::TransactionType = TransferTransactionBody<THeader>
private

Member Function Documentation

◆ CalculateRealSize()

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

◆ MessagePtrT()

template<typename THeader >
template<typename T >
static auto* catapult::model::TransferTransactionBody< THeader >::MessagePtrT ( T &  transaction)
inlinestaticprivate

◆ MosaicsPtrT()

template<typename THeader >
template<typename T >
static auto* catapult::model::TransferTransactionBody< THeader >::MosaicsPtrT ( T &  transaction)
inlinestaticprivate

Member Data Documentation

◆ MessageSize

template<typename THeader >
uint16_t catapult::model::TransferTransactionBody< THeader >::MessageSize

Message size in bytes.

◆ MosaicsCount

template<typename THeader >
uint8_t catapult::model::TransferTransactionBody< THeader >::MosaicsCount

Number of mosaics.

◆ Recipient

template<typename THeader >
UnresolvedAddress catapult::model::TransferTransactionBody< THeader >::Recipient

Transaction recipient.


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