Implements an IPv4 subnet mask. 更多...
#include <IPv4SubnetMask.h>
Public 成员函数 | |
| FIPv4SubnetMask () | |
| Default constructor. | |
| FIPv4SubnetMask (uint32 InValue) | |
| Creates and initializes a new IPv4 subnet mask with the specified value. 更多... | |
| FIPv4SubnetMask (uint8 InA, uint8 InB, uint8 InC, uint8 InD) | |
| Creates and initializes a new IPv4 subnet mask with the specified components. 更多... | |
| EIPv4SubnetClasses::Type | GetClass () const |
| Gets the subnet class that this mask specifies. 更多... | |
| bool | operator!= (const FIPv4SubnetMask &Other) const |
| Compares this subnet mask with the given address for inequality. 更多... | |
| bool | operator== (const FIPv4SubnetMask &Other) const |
| Compares this subnet mask with the given mask for equality. 更多... | |
| FIPv4SubnetMask | operator~ () const |
| Returns an inverted subnet mask. 更多... | |
| NETWORKING_API FString | ToString () const |
| Converts this IP address to its string representation. 更多... | |
| FText | ToText () const |
| Gets the display text representation. 更多... | |
静态 Public 成员函数 | |
| static NETWORKING_API bool | Parse (const FString &MaskString, FIPv4SubnetMask &OutMask) |
| Converts a string to an IPv4 subnet mask. 更多... | |
友元 | |
| uint32 | GetTypeHash (const FIPv4SubnetMask &SubnetMask) |
| Gets the hash for specified IPv4 subnet mask. 更多... | |
| FArchive & | operator<< (FArchive &Ar, FIPv4SubnetMask &SubnetMask) |
| Serializes the given subnet mask from or into the specified archive. 更多... | |
Implements an IPv4 subnet mask.
|
inline |
Creates and initializes a new IPv4 subnet mask with the specified components.
The created subnet mask has the value A.B.C.D.
| InA | The first component. |
| InB | The second component. |
| InC | The third component. |
| InD | The fourth component. |
|
inline |
Creates and initializes a new IPv4 subnet mask with the specified value.
| InValue | The address value (in host byte order). |
|
inline |
Gets the subnet class that this mask specifies.
|
inline |
Compares this subnet mask with the given address for inequality.
| Other | The subnet mask to compare with. |
|
inline |
Compares this subnet mask with the given mask for equality.
| Other | The subnet mask to compare with. |
|
inline |
Returns an inverted subnet mask.
|
static |
Converts a string to an IPv4 subnet mask.
| MaskString | The string to convert. |
| OutMask | Will contain the parsed subnet mask. |
| NETWORKING_API FString FIPv4SubnetMask::ToString | ( | ) | const |
|
inline |
|
friend |
Gets the hash for specified IPv4 subnet mask.
| SubnetMask | The subnet mask to get the hash for. |
|
friend |
Serializes the given subnet mask from or into the specified archive.
| Ar | The archive to serialize from or into. |
| SubnetMask | The subnet mask to serialize. |