A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::UanModesList Class Reference

Container for UanTxModes. More...

#include <uan-tx-mode.h>

Public Member Functions

void AppendMode (UanTxMode mode)
void DeleteMode (uint32_t num)
 delete mode at given index More...
uint32_t GetNModes (void) const
UanTxMode operator[] (uint32_t index) const

Private Attributes

std::vector< UanTxModem_modes


std::ostream & operator<< (std::ostream &os, const UanModesList &ml)
 Write UanModesList to stream os.
std::istream & operator>> (std::istream &is, UanModesList &ml)
 Read UanModesList from stream is.

Detailed Description

Container for UanTxModes.

Definition at line 162 of file uan-tx-mode.h.

Member Function Documentation

void ns3::UanModesList::AppendMode ( UanTxMode  mode)
modeAdd mode to list

Definition at line 232 of file uan-tx-mode.cc.

Referenced by ns3::UanPhyGen::GetDefaultModes().

void ns3::UanModesList::DeleteMode ( uint32_t  num)

delete mode at given index

numIndex of mode to delete

Definition at line 238 of file uan-tx-mode.cc.

References NS_ASSERT.

uint32_t ns3::UanModesList::GetNModes ( void  ) const
Number of modes in list

Definition at line 259 of file uan-tx-mode.cc.

Referenced by ns3::UanPhyGen::GetMode(), ns3::UanPhyGen::GetNModes(), and ns3::operator<<().

UanTxMode ns3::UanModesList::operator[] ( uint32_t  index) const
indexMode index
mode at given index

Definition at line 252 of file uan-tx-mode.cc.

References NS_ASSERT.

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