Container for UanTxModes. More...
#include "uan-tx-mode.h"
 Collaboration diagram for ns3::UanModesList:
 Collaboration diagram for ns3::UanModesList:| Public Member Functions | |
| UanModesList () | |
| Constructor. | |
| virtual | ~UanModesList () | 
| Destructor. | |
| void | AppendMode (UanTxMode mode) | 
| Add mode to this list. | |
| void | DeleteMode (uint32_t num) | 
| Delete the mode at given index. | |
| uint32_t | GetNModes () const | 
| Get the number of modes in this list. | |
| UanTxMode | operator[] (uint32_t index) const | 
| Retrieve a mode by index. | |
| Private Attributes | |
| std::vector< UanTxMode > | m_modes | 
| The vector of modes in this list. | |
| Friends | |
| 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. | |
Container for UanTxModes.
Definition at line 249 of file uan-tx-mode.h.
| ns3::UanModesList::UanModesList | ( | ) | 
Constructor.
Definition at line 209 of file uan-tx-mode.cc.
Referenced by operator<<, and operator>>.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | virtual | 
| void ns3::UanModesList::AppendMode | ( | UanTxMode | mode | ) | 
Add mode to this list.
| mode | The mode to add. | 
Definition at line 219 of file uan-tx-mode.cc.
References m_modes.
Referenced by UanTest::DoPhyTests(), and ns3::UanPhyGen::GetDefaultModes().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void ns3::UanModesList::DeleteMode | ( | uint32_t | num | ) | 
Delete the mode at given index.
| num | Index of mode to delete. | 
Definition at line 225 of file uan-tx-mode.cc.
| uint32_t ns3::UanModesList::GetNModes | ( | ) | const | 
Get the number of modes in this list.
Definition at line 245 of file uan-tx-mode.cc.
References m_modes.
Referenced by UanModesListTest::DoRun(), and operator<<.
 Here is the caller graph for this function:
 Here is the caller graph for this function:Retrieve a mode by index.
| index | Mode index. | 
Definition at line 238 of file uan-tx-mode.cc.
| 
 | friend | 
Write UanModesList to stream os.
| os | The output stream. | 
| ml | The mode list. | 
Definition at line 250 of file uan-tx-mode.cc.
References UanModesList(), GetNModes(), and m_modes.
| 
 | friend | 
Read UanModesList from stream is.
| is | The input stream. | 
| ml | The mode list to fill. | 
Definition at line 263 of file uan-tx-mode.cc.
References UanModesList(), and m_modes.
| 
 | private | 
The vector of modes in this list.
Definition at line 281 of file uan-tx-mode.h.
Referenced by ~UanModesList(), AppendMode(), DeleteMode(), GetNModes(), operator<<, operator>>, and operator[]().