CatapultServer  v0.5.0.1 (Elephant)
catapult::state::AccountRestrictionDescriptor Class Reference

Account restriction descriptor. More...

Public Member Functions

constexpr AccountRestrictionDescriptor (model::AccountRestrictionType restrictionType)
 Creates an account restriction descriptor around restrictionType. More...
 
constexpr model::AccountRestrictionType restrictionType () const
 Gets the value specific part of the restriction type. More...
 
constexpr AccountRestrictionOperationType operationType () const
 Gets the operation type. More...
 
constexpr model::AccountRestrictionType raw () const
 Gets the raw restriction type. More...
 

Static Private Member Functions

static constexpr model::AccountRestrictionType StripFlag (model::AccountRestrictionType lhs, model::AccountRestrictionType flag)
 

Private Attributes

model::AccountRestrictionType m_restrictionType
 

Detailed Description

Account restriction descriptor.

Constructor & Destructor Documentation

◆ AccountRestrictionDescriptor()

constexpr catapult::state::AccountRestrictionDescriptor::AccountRestrictionDescriptor ( model::AccountRestrictionType  restrictionType)
inlineexplicitconstexpr

Creates an account restriction descriptor around restrictionType.

Member Function Documentation

◆ operationType()

constexpr AccountRestrictionOperationType catapult::state::AccountRestrictionDescriptor::operationType ( ) const
inlineconstexpr

Gets the operation type.

Here is the caller graph for this function:

◆ raw()

constexpr model::AccountRestrictionType catapult::state::AccountRestrictionDescriptor::raw ( ) const
inlineconstexpr

Gets the raw restriction type.

◆ restrictionType()

constexpr model::AccountRestrictionType catapult::state::AccountRestrictionDescriptor::restrictionType ( ) const
inlineconstexpr

Gets the value specific part of the restriction type.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StripFlag()

static constexpr model::AccountRestrictionType catapult::state::AccountRestrictionDescriptor::StripFlag ( model::AccountRestrictionType  lhs,
model::AccountRestrictionType  flag 
)
inlinestaticconstexprprivate
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_restrictionType

model::AccountRestrictionType catapult::state::AccountRestrictionDescriptor::m_restrictionType
private

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