26 #include "ns3/attribute.h"
27 #include "ns3/attribute-helper.h"
28 #include "ns3/tag-buffer.h"
113 Address (uint8_t type,
const uint8_t *buffer, uint8_t len);
133 uint32_t
CopyTo (uint8_t buffer[MAX_SIZE])
const;
144 uint32_t
CopyAllTo (uint8_t *buffer, uint8_t len)
const;
155 uint32_t
CopyFrom (
const uint8_t *buffer, uint8_t len);
166 uint32_t
CopyAllFrom (
const uint8_t *buffer, uint8_t len);
215 friend std::ostream& operator<< (std::ostream& os,
const Address & address);
216 friend std::istream& operator>> (std::istream& is,
Address & address);
220 uint8_t m_data[MAX_SIZE];
230 bool operator == (
const Address &a,
const Address &b);
231 bool operator != (
const Address &a,
const Address &b);
232 bool operator < (
const Address &a,
const Address &b);
233 Address& operator + (Address &a,
const int b);
234 std::ostream&
operator<< (std::ostream& os,
const Address & address);
235 std::istream&
operator>> (std::istream& is, Address & address);
bool IsInvalid(void) const
std::istream & operator>>(std::istream &is, Angles &a)
bool IsMatchingType(uint8_t type) const
a polymophic address class
bool CheckCompatible(uint8_t type, uint8_t len) const
uint32_t CopyAllTo(uint8_t *buffer, uint8_t len) const
uint8_t GetLength(void) const
uint32_t CopyAllFrom(const uint8_t *buffer, uint8_t len)
void Deserialize(TagBuffer buffer)
uint32_t GetSerializedSize(void) const
#define ATTRIBUTE_HELPER_HEADER(type)
std::ostream & operator<<(std::ostream &os, const Angles &a)
uint32_t CopyFrom(const uint8_t *buffer, uint8_t len)
uint32_t CopyTo(uint8_t buffer[MAX_SIZE]) const
void Serialize(TagBuffer buffer) const
static uint8_t Register(void)