ns-3
ns3::MeshInformationElementVector Class Reference
Inheritance diagram for ns3::MeshInformationElementVector:
Collaboration diagram for ns3::MeshInformationElementVector:

List of all members.

Public Member Functions

virtual uint32_t DeserializeSingleIe (Buffer::Iterator start)
 Needed when you try to deserialize a lonely IE inside other header.
- Public Member Functions inherited from ns3::WifiInformationElementVector
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< WifiInformationElementFindFirst (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

- Public Types inherited from ns3::WifiInformationElementVector
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.
- Protected Types inherited from ns3::WifiInformationElementVector
typedef std::vector< Ptr
< WifiInformationElement > > 
IE_VECTOR
- Protected Member Functions inherited from ns3::WifiInformationElementVector
uint32_t GetSize () const
 Current number of bytes.
- Protected Attributes inherited from ns3::WifiInformationElementVector
IE_VECTOR m_elements
uint16_t m_maxSize
 Size in bytes (actually, max packet length)

Member Function Documentation

uint32_t ns3::MeshInformationElementVector::DeserializeSingleIe ( Buffer::Iterator  start)
virtual

Needed when you try to deserialize a lonely IE inside other header.

Parameters:
startis the start of the buffer
Returns:
deserialized bytes

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().


The documentation for this class was generated from the following files: