struct eosio::permission_level
Class List > eosio :: permission_level
Packed representation of a permission level (Authorization) More...
Public Attributes
Type | Name |
---|---|
name | actor Name of the account who owns this permission. |
name | permission Name of the permission. |
Public Functions
Type | Name |
---|---|
permission_level (name a, name p) Construct a new permission level object. |
|
permission_level () Construct a new permission level object. |
Friends
Type | Name |
---|---|
friend constexpr bool | operator== Check equality of two permissions. |
friend DataStream & | operator<< |
friend DataStream & | operator>> |
Detailed Description
Packed representation of a permission level (Authorization)
Public Attributes Documentation
variable actor
name eosio::permission_level::actor;
Name of the account who owns this permission.
Name of the account who owns this permission
variable permission
name eosio::permission_level::permission;
Name of the permission.
Name of the permission
Public Functions Documentation
function permission_level (1/2)
eosio::permission_level::permission_level(
name a,
name p
)
Construct a new permission level object.
Construct a new permission level object with actor name and permission name
Parameters:
- a - Name of the account who owns this authorization
- p - Name of the permission
function permission_level (2/2)
eosio::permission_level::permission_level()
Construct a new permission level object.
Default Constructor
Friends Documentation
friend operator==
constexpr bool operator==(
const permission_level & a,
const permission_level & b
)
Check equality of two permissions.
Check equality of two permissions
Parameters:
- a - first permission to compare
- b - second permission to compare
Returns:
true if equal
Returns:
false if unequal
friend operator<<
template<typename DataStream>
DataStream& operator<<(
DataStream & ds,
const permission_level & t
)
friend operator>>
template<typename DataStream>
DataStream& operator>>(
DataStream & ds,
permission_level & t
)
The documentation for this class was generated from the following file: libraries/eosiolib/action.hpp