CatapultServer  v0.5.0.1 (Elephant)
catapult::model::ArtifactExpiryReceipt< TArtifactId > Struct Template Reference

Binary layout for an artifact expiry receipt. More...

Inheritance diagram for catapult::model::ArtifactExpiryReceipt< TArtifactId >:
Collaboration diagram for catapult::model::ArtifactExpiryReceipt< TArtifactId >:

Public Member Functions

 ArtifactExpiryReceipt (ReceiptType receiptType, TArtifactId artifactId)
 Creates a receipt around receiptType and artifactId. More...
 
- Public Member Functions inherited from catapult::model::SizePrefixedEntity
bool operator== (const SizePrefixedEntity &rhs) const
 Returns true if this entity is equal to rhs. More...
 
bool operator!= (const SizePrefixedEntity &rhs) const
 Returns true if this entity is not equal to rhs. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Public Attributes

TArtifactId ArtifactId
 Artifact id. More...
 
- Public Attributes inherited from catapult::model::Receipt
uint16_t Version
 Receipt version. More...
 
ReceiptType Type
 Receipt type. More...
 
- Public Attributes inherited from catapult::model::SizePrefixedEntity
uint32_t Size
 Entity size. More...
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::model::SizePrefixedEntity
const uint8_t * ToBytePointer () const
 Returns byte-based const pointer to this entity. More...
 
uint8_t * ToBytePointer ()
 Returns byte-based pointer to this entity. More...
 
- Static Protected Member Functions inherited from catapult::model::SizePrefixedEntity
template<typename T >
static auto PayloadStart (T &entity)
 Gets the start of the variable data part of entity. More...
 

Detailed Description

template<typename TArtifactId>
struct catapult::model::ArtifactExpiryReceipt< TArtifactId >

Binary layout for an artifact expiry receipt.

Constructor & Destructor Documentation

◆ ArtifactExpiryReceipt()

template<typename TArtifactId>
catapult::model::ArtifactExpiryReceipt< TArtifactId >::ArtifactExpiryReceipt ( ReceiptType  receiptType,
TArtifactId  artifactId 
)
inline

Creates a receipt around receiptType and artifactId.

Member Data Documentation

◆ ArtifactId

template<typename TArtifactId>
TArtifactId catapult::model::ArtifactExpiryReceipt< TArtifactId >::ArtifactId

Artifact id.


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