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

Binary layout for an aggregate transaction. More...

Inheritance diagram for catapult::model::AggregateTransaction:
Collaboration diagram for catapult::model::AggregateTransaction:

Public Member Functions

const CosignatureCosignaturesPtr () const
 
CosignatureCosignaturesPtr ()
 
size_t CosignaturesCount () const
 
size_t CosignaturesCount ()
 
- Public Member Functions inherited from catapult::model::TransactionContainer< AggregateTransactionHeader, EmbeddedTransaction >
auto Transactions (EntityContainerErrorPolicy errorPolicy=EntityContainerErrorPolicy::Throw)
 
auto Transactions (EntityContainerErrorPolicy errorPolicy=EntityContainerErrorPolicy::Throw) const
 
EmbeddedTransactionTransactionsPtr ()
 Returns a pointer to transactions contained in this container. More...
 
const EmbeddedTransactionTransactionsPtr () const
 Returns a const pointer to transactions contained in this container. More...
 
- Public Member Functions inherited from catapult::model::EntityBody< VerifiableEntityHeader >
NetworkIdentifier Network () const
 Returns network of an entity, as defined in NetworkInfoTraits. More...
 
uint8_t EntityVersion () const
 Returns version of an entity. 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...
 

Static Private Member Functions

template<typename T >
static auto * CosignaturesPtrT (T &transaction)
 
template<typename T >
static size_t CosignaturesCountT (T &transaction)
 

Additional Inherited Members

- Public Attributes inherited from catapult::model::AggregateTransactionHeader
uint32_t PayloadSize
 
- Public Attributes inherited from catapult::model::Transaction
Amount MaxFee
 
Timestamp Deadline
 Transaction deadline. More...
 
- Public Attributes inherited from catapult::model::EntityBody< VerifiableEntityHeader >
Key Signer
 Entity signer's public key. More...
 
uint16_t Version
 Entity version. More...
 
EntityType Type
 Entity type. More...
 
- Public Attributes inherited from catapult::model::VerifiableEntityHeader
catapult::Signature Signature
 Entity signature. More...
 
- Public Attributes inherited from catapult::model::SizePrefixedEntity
uint32_t Size
 Entity size. More...
 
- Static Public Attributes inherited from catapult::model::VerifiableEntityHeader
static constexpr size_t Header_Size = sizeof(uint32_t) + Signature_Size + Key_Size
 Size of the VerifiableEntity part that can be skipped when signing/verifying. More...
 
- 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

Binary layout for an aggregate transaction.

Member Function Documentation

◆ CosignaturesCount() [1/2]

size_t catapult::model::AggregateTransaction::CosignaturesCount ( )
inline

Returns the number of cosignatures attached to this transaction.

Note
The returned value is undefined if the aggregate has an invalid size.
Here is the call graph for this function:

◆ CosignaturesCount() [2/2]

size_t catapult::model::AggregateTransaction::CosignaturesCount ( ) const
inline

Returns the number of cosignatures attached to this transaction.

Note
The returned value is undefined if the aggregate has an invalid size.
Here is the call graph for this function:

◆ CosignaturesCountT()

template<typename T >
static size_t catapult::model::AggregateTransaction::CosignaturesCountT ( T &  transaction)
inlinestaticprivate
Here is the caller graph for this function:

◆ CosignaturesPtr() [1/2]

Cosignature* catapult::model::AggregateTransaction::CosignaturesPtr ( )
inline

Returns a pointer to the first cosignature contained in this transaction.

Note
The returned pointer is undefined if the aggregate has an invalid size.
Here is the call graph for this function:

◆ CosignaturesPtr() [2/2]

const Cosignature* catapult::model::AggregateTransaction::CosignaturesPtr ( ) const
inline

Returns a const pointer to the first cosignature contained in this transaction.

Note
The returned pointer is undefined if the aggregate has an invalid size.
Here is the call graph for this function:

◆ CosignaturesPtrT()

template<typename T >
static auto* catapult::model::AggregateTransaction::CosignaturesPtrT ( T &  transaction)
inlinestaticprivate
Here is the caller graph for this function:

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