|
rippled
|
#include <Permissions.h>

Public Member Functions | |
| Permission (Permission const &)=delete | |
| Permission & | operator= (Permission const &)=delete |
| std::optional< std::string > | getPermissionName (std::uint32_t const value) const |
| std::optional< std::uint32_t > | getGranularValue (std::string const &name) const |
| std::optional< std::string > | getGranularName (GranularPermissionType const &value) const |
| std::optional< TxType > | getGranularTxType (GranularPermissionType const &gpType) const |
| std::optional< std::reference_wrapper< uint256 const > > const | getTxFeature (TxType txType) const |
| bool | isDelegatable (std::uint32_t const &permissionValue, Rules const &rules) const |
| uint32_t | txToPermissionType (TxType const &type) const |
| TxType | permissionToTxType (uint32_t const &value) const |
Static Public Member Functions | |
| static Permission const & | getInstance () |
Private Member Functions | |
| Permission () | |
Definition at line 34 of file Permissions.h.
|
private |
Definition at line 8 of file Permissions.cpp.
|
delete |
|
static |
Definition at line 79 of file Permissions.cpp.
|
delete |
| std::optional< std::string > ripple::Permission::getPermissionName | ( | std::uint32_t const | value | ) | const |
Definition at line 86 of file Permissions.cpp.
| std::optional< std::uint32_t > ripple::Permission::getGranularValue | ( | std::string const & | name | ) | const |
Definition at line 102 of file Permissions.cpp.
| std::optional< std::string > ripple::Permission::getGranularName | ( | GranularPermissionType const & | value | ) | const |
Definition at line 112 of file Permissions.cpp.
| std::optional< TxType > ripple::Permission::getGranularTxType | ( | GranularPermissionType const & | gpType | ) | const |
Definition at line 122 of file Permissions.cpp.
| std::optional< std::reference_wrapper< uint256 const > > const ripple::Permission::getTxFeature | ( | TxType | txType | ) | const |
Definition at line 132 of file Permissions.cpp.
| bool ripple::Permission::isDelegatable | ( | std::uint32_t const & | permissionValue, |
| Rules const & | rules | ||
| ) | const |
Definition at line 145 of file Permissions.cpp.
| uint32_t ripple::Permission::txToPermissionType | ( | TxType const & | type | ) | const |
Definition at line 180 of file Permissions.cpp.
| TxType ripple::Permission::permissionToTxType | ( | uint32_t const & | value | ) | const |
Definition at line 186 of file Permissions.cpp.
|
private |
Definition at line 39 of file Permissions.h.
|
private |
Definition at line 41 of file Permissions.h.
|
private |
Definition at line 44 of file Permissions.h.
|
private |
Definition at line 46 of file Permissions.h.
|
private |
Definition at line 48 of file Permissions.h.