Bitcoin Core 28.99.0
P2P Digital Currency
Static Public Member Functions | Public Attributes | List of all members
NetWhitelistPermissions Class Reference

#include <net_permissions.h>

Inheritance diagram for NetWhitelistPermissions:
[legend]
Collaboration diagram for NetWhitelistPermissions:
[legend]

Static Public Member Functions

static bool TryParse (const std::string &str, NetWhitelistPermissions &output, ConnectionDirection &output_connection_direction, bilingual_str &error)
 
- Static Public Member Functions inherited from NetPermissions
static std::vector< std::string > ToStrings (NetPermissionFlags flags)
 
static bool HasFlag (NetPermissionFlags flags, NetPermissionFlags f)
 
static void AddFlag (NetPermissionFlags &flags, NetPermissionFlags f)
 
static void ClearFlag (NetPermissionFlags &flags, NetPermissionFlags f)
 ClearFlag is only called with f == NetPermissionFlags::Implicit. More...
 

Public Attributes

CSubNet m_subnet
 
- Public Attributes inherited from NetPermissions
NetPermissionFlags m_flags
 

Detailed Description

Definition at line 89 of file net_permissions.h.

Member Function Documentation

◆ TryParse()

bool NetWhitelistPermissions::TryParse ( const std::string &  str,
NetWhitelistPermissions output,
ConnectionDirection output_connection_direction,
bilingual_str error 
)
static

Definition at line 128 of file net_permissions.cpp.

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

Member Data Documentation

◆ m_subnet

CSubNet NetWhitelistPermissions::m_subnet

Definition at line 93 of file net_permissions.h.


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