Container for UanTxModes. More...
#include <uan-tx-mode.h>
Collaboration diagram for ns3::UanModesList:Public Member Functions | |
| UanModesList () | |
| Constructor. More... | |
| virtual | ~UanModesList () |
| Destructor. More... | |
| void | AppendMode (UanTxMode mode) |
| Add mode to this list. More... | |
| void | DeleteMode (uint32_t num) |
| Delete the mode at given index. More... | |
| uint32_t | GetNModes (void) const |
| Get the number of modes in this list. More... | |
| UanTxMode | operator[] (uint32_t index) const |
| Retrieve a mode by index. More... | |
Private Attributes | |
| std::vector< UanTxMode > | m_modes |
| The vector of modes in this list. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const UanModesList &ml) |
| Write UanModesList to stream os. More... | |
| std::istream & | operator>> (std::istream &is, UanModesList &ml) |
| Read UanModesList from stream is. More... | |
Container for UanTxModes.
Definition at line 257 of file uan-tx-mode.h.
| ns3::UanModesList::UanModesList | ( | void | ) |
Constructor.
Definition at line 222 of file uan-tx-mode.cc.
|
virtual |
| void ns3::UanModesList::AppendMode | ( | UanTxMode | mode | ) |
Add mode to this list.
| mode | The mode to add. |
Definition at line 232 of file uan-tx-mode.cc.
References m_modes.
Referenced by Experiment::CreateDualModes(), UanTest::DoPhyTests(), and ns3::UanPhyGen::GetDefaultModes().
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 238 of file uan-tx-mode.cc.
| uint32_t ns3::UanModesList::GetNModes | ( | void | ) | const |
Get the number of modes in this list.
Definition at line 259 of file uan-tx-mode.cc.
References m_modes.
Referenced by ns3::UanPhyGen::GetMode(), ns3::UanPhyGen::GetNModes(), and ns3::operator<<().
Here is the caller graph for this function:| UanTxMode ns3::UanModesList::operator[] | ( | uint32_t | index | ) | const |
Retrieve a mode by index.
| index | Mode index. |
Definition at line 252 of file uan-tx-mode.cc.
|
friend |
Write UanModesList to stream os.
| os | The output stream. |
| ml | The mode list. |
Definition at line 265 of file uan-tx-mode.cc.
|
friend |
Read UanModesList from stream is.
| is | The input stream. |
| ml | The mode list to fill. |
Definition at line 277 of file uan-tx-mode.cc.
|
private |
The vector of modes in this list.
Definition at line 290 of file uan-tx-mode.h.
Referenced by AppendMode(), DeleteMode(), GetNModes(), ns3::operator<<(), ns3::operator>>(), operator[](), and ~UanModesList().