[#NetWhitebindPermissions] = NetWhitebindPermissions :mrdocs: Permissions bound to a specific listening address, parsed from a ‐whitebind entry. == Synopsis Declared in `<net_permissions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class NetWhitebindPermissions : public xref:NetPermissions.adoc[NetPermissions] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:NetPermissions.adoc[NetPermissions]` | Holds the permission flags granted to a peer and helpers to query and modify them. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:NetPermissions/AddFlag.adoc[`AddFlag`] | Add a flag to a set of flags. | xref:NetPermissions/ClearFlag.adoc[`ClearFlag`] | Remove a flag from a set of flags. ClearFlag is only called with `f` == NetPermissionFlags::Implicit. If that should change in the future, be aware that ClearFlag should not be called with a subflag of a multiflag, e.g. NetPermissionFlags::Relay or NetPermissionFlags::Download, as that would leave `flags` in an invalid state corresponding to none of the existing flags. | xref:NetPermissions/HasFlag.adoc[`HasFlag`] | Test whether a set of flags contains a given flag (or flag combination). | xref:NetPermissions/ToStrings.adoc[`ToStrings`] | Convert a set of permission flags into their human‐readable names. | xref:NetWhitebindPermissions/TryParse.adoc[`TryParse`] | Parse a ‐whitebind string into permissions and a service address. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:NetPermissions/m_flags.adoc[`m_flags`] | The permission flags currently granted. | xref:NetWhitebindPermissions/m_service.adoc[`m_service`] | The address and port this whitebind applies to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#