Navigation
API > API/Runtime > API/Runtime/Networking
Implements an IPv4 subnet mask.
| Name | FIPv4SubnetMask |
| Type | struct |
| Header File | /Engine/Source/Runtime/Networking/Public/Interfaces/IPv4/IPv4SubnetMask.h |
| Include Path | #include "Interfaces/IPv4/IPv4SubnetMask.h" |
Syntax
struct FIPv4SubnetMask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor. | Interfaces/IPv4/IPv4SubnetMask.h | ||
FIPv4SubnetMask
(
uint32 InValue |
Creates and initializes a new IPv4 subnet mask with the specified value. | Interfaces/IPv4/IPv4SubnetMask.h | |
FIPv4SubnetMask
(
uint8 InA, |
Creates and initializes a new IPv4 subnet mask with the specified components. | Interfaces/IPv4/IPv4SubnetMask.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| A | uint8 | Interfaces/IPv4/IPv4SubnetMask.h | ||
| B | uint8 | Interfaces/IPv4/IPv4SubnetMask.h | ||
| C | uint8 | Interfaces/IPv4/IPv4SubnetMask.h | ||
| D | uint8 | Interfaces/IPv4/IPv4SubnetMask.h | ||
| FIPv4SubnetMask | union FIPv4SubnetMask | Interfaces/IPv4/IPv4SubnetMask.h | ||
| Value | int32 | The subnet mask value in host byte order. | Interfaces/IPv4/IPv4SubnetMask.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EIPv4SubnetClasses::Type GetClass() |
Gets the subnet class that this mask specifies. | Interfaces/IPv4/IPv4SubnetMask.h | |
FString ToString () |
Converts this IP address to its string representation. | Interfaces/IPv4/IPv4SubnetMask.h | |
| Gets the display text representation. | Interfaces/IPv4/IPv4SubnetMask.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool Parse
(
const FString& MaskString, |
Converts a string to an IPv4 subnet mask. | Interfaces/IPv4/IPv4SubnetMask.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FIPv4SubnetMask& Other |
Compares this subnet mask with the given address for inequality. | Interfaces/IPv4/IPv4SubnetMask.h | |
FIPv4SubnetMask operator~() |
Returns an inverted subnet mask. | Interfaces/IPv4/IPv4SubnetMask.h | |
bool operator==
(
const FIPv4SubnetMask& Other |
Compares this subnet mask with the given mask for equality. | Interfaces/IPv4/IPv4SubnetMask.h |