FIPv4SubnetMask

Implements an IPv4 subnet mask.

Windows
MacOS
Linux

References

Module

Networking

Header

/Engine/Source/Runtime/Networking/Public/Interfaces/IPv4/IPv4SubnetMask.h

Include

#include "Interfaces/IPv4/IPv4SubnetMask.h"

Syntax

struct FIPv4SubnetMask

Remarks

Implements an IPv4 subnet mask.

Variables

Name Description

Public variable

union FIPv4Subn...

 

@5934

Public variable

uint8

 

A

Public variable

uint8

 

B

Public variable

uint8

 

C

Public variable

uint8

 

D

Public variable

int32

 

Value

The subnet mask value in host byte order.

Constructors

Name Description

Public function

FIPv4SubnetMask()

Default constructor.

Public function

FIPv4SubnetMask

(
    uint32 InValue
)

Creates and initializes a new IPv4 subnet mask with the specified value.

Public function

FIPv4SubnetMask

(
    uint8 InA,
    uint8 InB,
    uint8 InC,
    uint8 InD
)

Creates and initializes a new IPv4 subnet mask with the specified components.

Functions

Name Description

Public function Const

EIPv4SubnetC...

 

GetClass()

Gets the subnet class that this mask specifies.

Public function Static

bool

 

Parse

(
    const FString& MaskString,
    FIPv4SubnetMask& OutMask
)

Converts a string to an IPv4 subnet mask.

Public function Const

FString

 

ToString()

Converts this IP address to its string representation.

Public function Const

FText

 

ToText()

Gets the display text representation.

Operators

Name Description

Public function Const

bool

 

operator!=

(
    const FIPv4SubnetMask& Other
)

Compares this subnet mask with the given address for inequality.

Public function Const

FIPv4SubnetM...

 

operator~()

Returns an inverted subnet mask.

Public function Const

bool

 

operator==

(
    const FIPv4SubnetMask& Other
)

Compares this subnet mask with the given mask for equality.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss