20 #ifndef MAC64_ADDRESS_H 21 #define MAC64_ADDRESS_H 25 #include "ns3/attribute.h" 26 #include "ns3/attribute-helper.h" 59 void CopyFrom (
const uint8_t buffer[8]);
65 void CopyTo (uint8_t buffer[8])
const;
friend std::ostream & operator<<(std::ostream &os, const Mac64Address &address)
Stream insertion operator.
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
static bool IsMatchingType(const Address &address)
friend bool operator!=(const Mac64Address &a, const Mac64Address &b)
Not equal to operator.
a polymophic address class
bool operator<(const EventId &a, const EventId &b)
friend std::istream & operator>>(std::istream &is, Mac64Address &address)
Stream extraction operator.
void CopyTo(uint8_t buffer[8]) const
void CopyFrom(const uint8_t buffer[8])
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
bool operator!=(Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > a, Callback< R, T1, T2, T3, T4, T5, T6, T7, T8, T9 > b)
Inequality test.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
Address ConvertTo(void) const
static Mac64Address ConvertFrom(const Address &address)
uint8_t m_address[8]
address value
static uint8_t GetType(void)
Return the Type of address.
bool operator==(const EventId &a, const EventId &b)
friend bool operator<(const Mac64Address &a, const Mac64Address &b)
Less than operator.
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type.
static Mac64Address Allocate(void)
Allocate a new Mac64Address.
friend bool operator==(const Mac64Address &a, const Mac64Address &b)
Equal to operator.