CatapultServer  v0.5.0.1 (Elephant)
catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type > Struct Template Reference

Notification of an account restriction modification. More...

Inheritance diagram for catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >:
Collaboration diagram for catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >:

Public Member Functions

 ModifyAccountRestrictionNotification (const Key &key, AccountRestrictionType restrictionType, uint8_t modificationsCount, const AccountRestrictionModification< TRestrictionValue > *pModifications)
 Creates a notification around key, restrictionType, modificationsCount and pModifications. More...
 
- Public Member Functions inherited from catapult::model::Notification
 Notification (NotificationType type, size_t size)
 Creates a new notification with type and size. More...
 

Public Attributes

catapult::Key Key
 Account's public key. More...
 
state::AccountRestrictionDescriptor AccountRestrictionDescriptor
 Account restriction descriptor. More...
 
uint8_t ModificationsCount
 Number of modifications. More...
 
const AccountRestrictionModification< TRestrictionValue > * ModificationsPtr
 Const pointer to the first modification. More...
 
- Public Attributes inherited from catapult::model::Notification
NotificationType Type
 Notification type. More...
 
size_t Size
 Notification size. More...
 

Static Public Attributes

static constexpr auto Notification_Type = RestrictionAccount_Notification_Type
 Matching notification type. More...
 

Detailed Description

template<typename TRestrictionValue, NotificationType RestrictionAccount_Notification_Type>
struct catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >

Notification of an account restriction modification.

Constructor & Destructor Documentation

◆ ModifyAccountRestrictionNotification()

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::ModifyAccountRestrictionNotification ( const Key key,
AccountRestrictionType  restrictionType,
uint8_t  modificationsCount,
const AccountRestrictionModification< TRestrictionValue > *  pModifications 
)
inline

Creates a notification around key, restrictionType, modificationsCount and pModifications.

Member Data Documentation

◆ AccountRestrictionDescriptor

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
state::AccountRestrictionDescriptor catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::AccountRestrictionDescriptor

Account restriction descriptor.

◆ Key

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
catapult::Key catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::Key

Account's public key.

◆ ModificationsCount

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
uint8_t catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::ModificationsCount

Number of modifications.

◆ ModificationsPtr

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
const AccountRestrictionModification<TRestrictionValue>* catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::ModificationsPtr

Const pointer to the first modification.

◆ Notification_Type

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
constexpr auto catapult::model::ModifyAccountRestrictionNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::Notification_Type = RestrictionAccount_Notification_Type
staticconstexpr

Matching notification type.


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