|
CatapultServer
v0.5.0.1 (Elephant)
|
Typed account restriction. More...

Public Member Functions | |
| TypedAccountRestriction (const AccountRestriction &restriction) | |
| Creates a typed account restriction around restriction. More... | |
| const AccountRestrictionDescriptor & | descriptor () const |
| Gets the descriptor of the underlying account restriction. More... | |
| size_t | size () const |
| Gets the number of values of the underlying account restriction. More... | |
| bool | contains (const TRestrictionValue &value) const |
Returns true if the underlying account restriction contains value. More... | |
| bool | canAllow (const model::AccountRestrictionModification< TRestrictionValue > &modification) const |
Returns true if modification can be applied to the underlying restriction. More... | |
| bool | canBlock (const model::AccountRestrictionModification< TRestrictionValue > &modification) const |
Returns true if modification can be applied to the underlying restriction. More... | |
Private Attributes | |
| const AccountRestriction & | m_restriction |
Typed account restriction.
|
inlineexplicit |
Creates a typed account restriction around restriction.
|
inline |
Returns true if modification can be applied to the underlying restriction.

|
inline |
Returns true if modification can be applied to the underlying restriction.

|
inline |
Returns true if the underlying account restriction contains value.

|
inline |
Gets the descriptor of the underlying account restriction.

|
inline |
Gets the number of values of the underlying account restriction.

|
private |