openshot-audio
0.1.2
|
#include <juce_core.h>
Public Member Functions | |
MACAddress () | |
MACAddress (const MACAddress &) | |
MACAddress & | operator= (const MACAddress &) |
MACAddress (const uint8 bytes[6]) | |
const uint8 * | getBytes () const noexcept |
String | toString () const |
int64 | toInt64 () const noexcept |
bool | isNull () const noexcept |
bool | operator== (const MACAddress &) const noexcept |
bool | operator!= (const MACAddress &) const noexcept |
Static Public Member Functions | |
static void | findAllAddresses (Array< MACAddress > &results) |
Represents a MAC network card adapter address ID.
MACAddress::MACAddress | ( | ) |
Creates a null address (00-00-00-00-00-00).
MACAddress::MACAddress | ( | const MACAddress & | other | ) |
Creates a copy of another address.
|
static |
Populates a list of the MAC addresses of all the available network cards.
Returns a pointer to the 6 bytes that make up this address.
|
noexcept |
Returns true if this address is null (00-00-00-00-00-00).
|
noexcept |
MACAddress & MACAddress::operator= | ( | const MACAddress & | other | ) |
Creates a copy of another address.
|
noexcept |
|
noexcept |
Returns the address in the lower 6 bytes of an int64.
This uses a little-endian arrangement, with the first byte of the address being stored in the least-significant byte of the result value.
String MACAddress::toString | ( | ) | const |
Returns a dash-separated string in the form "11-22-33-44-55-66"