![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IPv4Subnet.h>
Public Member Functions | |
| FIPv4Subnet () | |
| FIPv4Subnet (const FIPv4Address &InAddress, const FIPv4SubnetMask &InMask) | |
| bool | operator== (const FIPv4Subnet &Other) const |
| bool | operator!= (const FIPv4Subnet &Other) const |
| FIPv4Address | BroadcastAddress () const |
| bool | ContainsAddress (const FIPv4Address &TestAddress) |
| NETWORKING_API FString | ToString () const |
| FText | ToText () const |
Static Public Member Functions | |
| static NETWORKING_API bool | Parse (const FString &SubnetString, FIPv4Subnet &OutSubnet) |
Public Attributes | |
| FIPv4Address | Address |
| FIPv4SubnetMask | Mask |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FIPv4Subnet &Subnet) |
| uint32 | GetTypeHash (const FIPv4Subnet &Subnet) |
Implements a IPv4 subnet descriptor.
|
inline |
Default constructor.
|
inline |
Creates and initializes a new IPv4 subnet with the specified address and mask.
| InAddress | The subnet's address. |
| InMask | The subnet's mask. |
|
inline |
Get the broadcast address for this subnet.
|
inline |
Checks whether the subnet contains the specified IP address.
| TestAddress | The address to check. |
|
inline |
Compares this IPv4 subnet descriptor with the given subnet for inequality.
| Other | The subnet to compare with. |
|
inline |
Compares this IPv4 subnet descriptor with the given subnet for equality.
| Other | The subnet to compare with. |
|
static |
Converts a string to an IPv4 subnet.
| SubnetString | The string to convert. |
| OutSubnet | Will contain the parsed subnet. |
| FString FIPv4Subnet::ToString | ( | ) | const |
|
inline |
|
friend |
Gets the hash for specified IPv4 subnet.
| Subnet | The subnet to get the hash for. |
|
friend |
Serializes the given subnet descriptor from or into the specified archive.
| Ar | The archive to serialize from or into. |
| Subnet | The subnet descriptor to serialize. |
| FIPv4Address FIPv4Subnet::Address |
Holds the subnet's address.
| FIPv4SubnetMask FIPv4Subnet::Mask |
Holds the subnet's mask.