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

Notification of an account restriction value modification. More...

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

Public Member Functions

 ModifyAccountRestrictionValueNotification (const Key &key, AccountRestrictionType restrictionType, const AccountRestrictionModification< TRestrictionValue > &modification)
 Creates a notification around key, restrictionType and modification. 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...
 
AccountRestrictionModification< TRestrictionValue > Modification
 
- 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::ModifyAccountRestrictionValueNotification< TRestrictionValue, RestrictionAccount_Notification_Type >

Notification of an account restriction value modification.

Constructor & Destructor Documentation

◆ ModifyAccountRestrictionValueNotification()

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
catapult::model::ModifyAccountRestrictionValueNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::ModifyAccountRestrictionValueNotification ( const Key key,
AccountRestrictionType  restrictionType,
const AccountRestrictionModification< TRestrictionValue > &  modification 
)
inline

Creates a notification around key, restrictionType and modification.

Member Data Documentation

◆ AccountRestrictionDescriptor

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

Account restriction descriptor.

◆ Key

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

Account's public key.

◆ Modification

template<typename TRestrictionValue , NotificationType RestrictionAccount_Notification_Type>
AccountRestrictionModification<TRestrictionValue> catapult::model::ModifyAccountRestrictionValueNotification< TRestrictionValue, RestrictionAccount_Notification_Type >::Modification

Account restriction modification.

Note
TRestrictionValue is the resolved value.

◆ Notification_Type

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

Matching notification type.


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