44 static TypeId tid =
TypeId (
"ns3::WifiInformationElementVector")
46 .SetGroupName (
"Wifi")
75 NS_FATAL_ERROR (
"This variant should not be called on a variable-sized header");
82 uint32_t size =
start.GetDistanceFrom (end);
83 uint32_t remaining = size;
87 start.Next (deserialized);
89 remaining -= deserialized;
108 NS_FATAL_ERROR (
"Information element " << +
id <<
" is not implemented");
162 if ((*i)->ElementId () == id)
176 size += ((*i)->GetInformationFieldSize () + 2);
196 WifiInformationElementVector::IE_VECTOR::const_iterator j = a.
m_elements.begin ();
197 for (WifiInformationElementVector::IE_VECTOR::const_iterator i =
m_elements.begin (); i
200 if (!(*(*i) == *(*j)))
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
NS_ASSERT_MSG(false, "Ipv4AddressGenerator::MaskToIndex(): Impossible")
#define NS_ASSERT(condition)
At runtime, in debugging builds, if this condition is not true, the program prints the source file...
#define NS_FATAL_ERROR(msg)
Report a fatal error with a message and terminate.
iterator in a Buffer instance
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint8_t WifiInformationElementId
This type is used to represent an Information Element ID.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.