Public Member Functions

ns3::NetDeviceContainer Class Reference

holds a vector of ns3::NetDevice pointers More...

#include <net-device-container.h>

List of all members.

Public Member Functions

Iterator Begin (void) const
Iterator End (void) const
uint32_t GetN (void) const
Ptr< NetDeviceGet (uint32_t i) const
void Add (NetDeviceContainer other)
void Add (Ptr< NetDevice > device)

Detailed Description

holds a vector of ns3::NetDevice pointers


Member Function Documentation

void ns3::NetDeviceContainer::Add ( NetDeviceContainer  other  ) 
Parameters:
other another netdevice container

Append to the end of this container the other input container.

void ns3::NetDeviceContainer::Add ( Ptr< NetDevice device  ) 
Parameters:
device another netdevice pointer.

Append to the end of this container the input netdevice pointer.

Iterator ns3::NetDeviceContainer::Begin ( void   )  const
Returns:
an iterator which points to the start of the array of pointers.
Iterator ns3::NetDeviceContainer::End ( void   )  const
Returns:
an iterator which points to the end of the array of pointers.
Ptr<NetDevice> ns3::NetDeviceContainer::Get ( uint32_t  i  )  const
Parameters:
i the index of the requested netdevice pointer.
Returns:
the requested netdevice pointer.
uint32_t ns3::NetDeviceContainer::GetN ( void   )  const
Returns:
the number of netdevice pointers stored in this container.

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