BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Static Public Member Functions | Static Public Attributes
BeeeOn::MACAddress Class Reference

Public Member Functions

 MACAddress (const unsigned char bytes[6])
 
 MACAddress (const std::vector< unsigned char > &bytes)
 
 MACAddress (const uint64_t numMac)
 
uint64_t toNumber () const
 
std::string toString () const
 
std::string toString (const char separator) const
 
std::vector< unsigned char > bytes () const
 
void into (unsigned char bytes[6]) const
 
 operator uint64_t () const
 
bool operator== (const MACAddress &mac) const
 
bool operator!= (const MACAddress &mac) const
 
bool operator< (const MACAddress &mac) const
 
bool operator> (const MACAddress &mac) const
 

Static Public Member Functions

static MACAddress parse (const std::string &str, const char separator= ':')
 

Static Public Attributes

static const MACAddress ZERO
 

Member Function Documentation

void MACAddress::into ( unsigned char  bytes[6]) const

Copy the raw MAC address bytes into the given array.


The documentation for this class was generated from the following files: