OpFlex Framework  1.7.0
MAC.h File Reference

Interface definition file for MACs. More...

#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  opflex::modb::MAC
 A MAC address is used to identify devices on an ethernet network. More...
 

Functions

std::ostream & opflex::modb::operator<< (std::ostream &os, const MAC &mac)
 Stream insertion operator.
 
bool opflex::modb::operator== (const MAC &lhs, const MAC &rhs)
 Check for MAC equality.
 
bool opflex::modb::operator!= (const MAC &lhs, const MAC &rhs)
 Check for MAC inequality.
 
size_t opflex::modb::hash_value (MAC const &mac)
 Compute a hash value for the MAC, making MAC suitable as a key in a boost::unordered_map.
 

Detailed Description

Interface definition file for MACs.