Implements a IPv4 subnet descriptor. 更多...
#include <IPv4Subnet.h>
Public 成员函数 | |
| FIPv4Address | BroadcastAddress () const |
| Get the broadcast address for this subnet. 更多... | |
| bool | ContainsAddress (const FIPv4Address &TestAddress) |
| Checks whether the subnet contains the specified IP address. 更多... | |
| FIPv4Subnet () | |
| Default constructor. | |
| FIPv4Subnet (const FIPv4Address &InAddress, const FIPv4SubnetMask &InMask) | |
| Creates and initializes a new IPv4 subnet with the specified address and mask. 更多... | |
| bool | operator!= (const FIPv4Subnet &Other) const |
| Compares this IPv4 subnet descriptor with the given subnet for inequality. 更多... | |
| bool | operator== (const FIPv4Subnet &Other) const |
| Compares this IPv4 subnet descriptor with the given subnet for equality. 更多... | |
| NETWORKING_API FString | ToString () const |
| Converts this IP subnet to its string representation. 更多... | |
| FText | ToText () const |
| Gets the display text representation. 更多... | |
静态 Public 成员函数 | |
| static NETWORKING_API bool | Parse (const FString &SubnetString, FIPv4Subnet &OutSubnet) |
| Converts a string to an IPv4 subnet. 更多... | |
Public 属性 | |
| FIPv4Address | Address |
| Holds the subnet's address. | |
| FIPv4SubnetMask | Mask |
| Holds the subnet's mask. | |
友元 | |
| uint32 | GetTypeHash (const FIPv4Subnet &Subnet) |
| Gets the hash for specified IPv4 subnet. 更多... | |
| FArchive & | operator<< (FArchive &Ar, FIPv4Subnet &Subnet) |
| Serializes the given subnet descriptor from or into the specified archive. 更多... | |
Implements a IPv4 subnet descriptor.
|
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. |
| NETWORKING_API 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. |