ns-3
|
Public Member Functions | |
virtual uint32_t | DeserializeSingleIe (Buffer::Iterator start) |
Needed when you try to deserialize a lonely IE inside other header. | |
![]() | |
void | SetMaxSize (uint16_t size) |
Set maximum size to control overflow of the max packet length. | |
Iterator | Begin () |
Returns Begin of the vector. | |
Iterator | End () |
Returns End of the vector. | |
bool | AddInformationElement (Ptr< WifiInformationElement > element) |
add an IE, if maxSize has exceeded, returns false | |
Ptr< WifiInformationElement > | FindFirst (WifiInformationElementId id) const |
vector of pointers to information elements is the body of IeVector | |
virtual bool | operator== (const WifiInformationElementVector &a) const |
TypeId | GetInstanceTypeId () const |
virtual uint32_t | GetSerializedSize () const |
virtual void | Serialize (Buffer::Iterator start) const |
virtual uint32_t | Deserialize (Buffer::Iterator start) |
virtual void | Print (std::ostream &os) const |
Additional Inherited Members | |
![]() | |
typedef std::vector< Ptr < WifiInformationElement > >::iterator | Iterator |
As soon as this is a vector, we define an Iterator. | |
static TypeId | GetTypeId () |
This method returns the TypeId associated to ns3::WifiInformationElementVector. | |
![]() | |
typedef std::vector< Ptr < WifiInformationElement > > | IE_VECTOR |
![]() | |
uint32_t | GetSize () const |
Current number of bytes. | |
![]() | |
IE_VECTOR | m_elements |
uint16_t | m_maxSize |
Size in bytes (actually, max packet length) |
|
virtual |
Needed when you try to deserialize a lonely IE inside other header.
start | is the start of the buffer |
Reimplemented from ns3::WifiInformationElementVector.
References ns3::Buffer::Iterator::GetDistanceFrom(), ns3::WifiInformationElementVector::GetSize(), ns3::WifiInformationElementVector::m_maxSize, ns3::Buffer::Iterator::Next(), NS_FATAL_ERROR, ns3::Buffer::Iterator::Prev(), and ns3::Buffer::Iterator::ReadU8().