24 #include "ns3/address.h"
82 void CopyFrom (
const uint8_t *pBuffer);
89 void CopyTo (uint8_t *pBuffer);
std::istream & operator>>(std::istream &is, Angles &a)
initialize a struct Angles from input
static bool IsMatchingType(const Address &address)
Check that a generic Address is compatible with UanAddress.
void CopyFrom(const uint8_t *pBuffer)
Sets address to address stored in parameter.
friend bool operator<(const UanAddress &a, const UanAddress &b)
Address comparison, less than.
bool operator<(const Room &a, const Room &b)
a polymophic address class
friend std::ostream & operator<<(std::ostream &os, const UanAddress &address)
Write address to stream os as 8 bit integer.
A class used for addressing UAN MAC's.
static uint8_t GetType(void)
Get the UanAddress type.
static UanAddress ConvertFrom(const Address &address)
Convert a generic address to a UanAddress.
friend bool operator!=(const UanAddress &a, const UanAddress &b)
Address comparison, unequal.
virtual ~UanAddress()
Destructor.
static UanAddress GetBroadcast(void)
Get the broadcast address (255).
std::ostream & operator<<(std::ostream &os, const Angles &a)
print a struct Angles to output
Address ConvertTo(void) const
Convert to a generic Address.
uint8_t GetAsInt(void) const
Convert to integer.
friend bool operator==(const UanAddress &a, const UanAddress &b)
Address comparison, equalit.
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.
void CopyTo(uint8_t *pBuffer)
Writes address to buffer parameter.
static UanAddress Allocate()
Allocates UanAddress from 0-254.
bool operator==(const EventId &a, const EventId &b)
friend std::istream & operator>>(std::istream &is, UanAddress &address)
Read address from stream is as 8 bit integer.
uint8_t m_address
The address.