CatapultServer  v0.5.0.1 (Elephant)
catapult::model::ReceiptSource Struct Reference

Receipt source (unique within a block). More...

Public Member Functions

 ReceiptSource ()
 Creates a default receipt source. More...
 
 ReceiptSource (uint32_t primaryId, uint32_t secondaryId)
 Creates a receipt source around primaryId and secondaryId. More...
 
constexpr bool operator< (const ReceiptSource &rhs) const
 Returns true if this receipt source is less than rhs. More...
 

Public Attributes

uint32_t PrimaryId
 Transaction primary source (e.g. index within block). More...
 
uint32_t SecondaryId
 Transaction secondary source (e.g. index within aggregate). More...
 

Detailed Description

Receipt source (unique within a block).

Constructor & Destructor Documentation

◆ ReceiptSource() [1/2]

catapult::model::ReceiptSource::ReceiptSource ( )
inline

Creates a default receipt source.

◆ ReceiptSource() [2/2]

catapult::model::ReceiptSource::ReceiptSource ( uint32_t  primaryId,
uint32_t  secondaryId 
)
inline

Creates a receipt source around primaryId and secondaryId.

Member Function Documentation

◆ operator<()

constexpr bool catapult::model::ReceiptSource::operator< ( const ReceiptSource rhs) const
inlineconstexpr

Returns true if this receipt source is less than rhs.

Member Data Documentation

◆ PrimaryId

uint32_t catapult::model::ReceiptSource::PrimaryId

Transaction primary source (e.g. index within block).

◆ SecondaryId

uint32_t catapult::model::ReceiptSource::SecondaryId

Transaction secondary source (e.g. index within aggregate).


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