20 #ifndef MAC16_ADDRESS_H    21 #define MAC16_ADDRESS_H    25 #include "ns3/attribute.h"    26 #include "ns3/attribute-helper.h"    56   void CopyFrom (
const uint8_t buffer[2]);
    62   void CopyTo (uint8_t buffer[2]) 
const;
 friend std::istream & operator>>(std::istream &is, Mac16Address &address)
Stream extraction operator. 
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input 
bool IsBroadcast(void) const
Checks if the address is a broadcast address according to 802.15.4 scheme (i.e., 0xFFFF). 
uint8_t m_address[2]
address value 
static Mac16Address ConvertFrom(const Address &address)
Address ConvertTo(void) const
void CopyFrom(const uint8_t buffer[2])
void CopyTo(uint8_t buffer[2]) const
a polymophic address class 
bool operator<(const EventId &a, const EventId &b)
static uint8_t GetType(void)
Return the Type of address. 
friend bool operator<(const Mac16Address &a, const Mac16Address &b)
Less than operator. 
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output 
friend bool operator!=(const Mac16Address &a, const Mac16Address &b)
Not equal to operator. 
static Mac16Address GetBroadcast(void)
friend std::ostream & operator<<(std::ostream &os, const Mac16Address &address)
Stream insertion operator. 
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. 
This class can contain 16 bit addresses. 
friend bool operator==(const Mac16Address &a, const Mac16Address &b)
Equal to operator. 
bool IsMulticast(void) const
Checks if the address is a multicast address according to RFC 4944 Section 9 (i.e., if its first 3 bits are 100). 
Describes an IPv6 address. 
bool operator==(const EventId &a, const EventId &b)
static Mac16Address GetMulticast(Ipv6Address address)
  Returns the multicast address associated with an IPv6 address according to RFC 4944 Section 9...
static bool IsMatchingType(const Address &address)
static Mac16Address Allocate(void)
Allocate a new Mac16Address. 
#define ATTRIBUTE_HELPER_HEADER(type)
Declare the attribute value, accessor and checkers for class type