-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::BinaryIPAddress
Karel Donk edited this page Oct 18, 2018
·
7 revisions
QuantumGate::BinaryIPAddress
is a struct
containing details about an IP address.
struct BinaryIPAddress
{
BinaryIPAddress::Family AddressFamily{ BinaryIPAddress::Family::Unspecified};
union
{
Byte Bytes[16];
UInt16 UInt16s[8];
UInt32 UInt32s[4];
UInt64 UInt64s[2]{ 0, 0 };
}
};
Name | Description |
---|---|
AddressFamily |
The address family. See QuantumGate::IPAddress::Family for more details. |
Bytes |
The bytes making up the IP address. |
Name | Description |
---|---|
Clear |
Clears the contents and restores the default values. |
operator= |
Assigns a value from another BinaryIPAddress . |
operator== , operator!=
|
Compares the BinaryIPAddress to another. |
operator~ |
Performs a bitwise NOT on the address. |
operator^ , operator^=
|
Performs a bitwise XOR with another address. |
operator| , operator|=
|
Performs a bitwise OR with another address. |
operator& , operator&=
|
Performs a bitwise AND with another address. |