A Discrete-Event Network Simulator
API
lte-spectrum-value-helper.cc File Reference
#include "lte-spectrum-value-helper.h"
#include <ns3/fatal-error.h>
#include <ns3/log.h>
#include <cmath>
#include <map>
+ Include dependency graph for lte-spectrum-value-helper.cc:

Go to the source code of this file.

Classes

struct  ns3::EutraChannelNumbers
 Table 5.7.3-1 "E-UTRA channel numbers" from 3GPP TS 36.101 The table was converted to C syntax doing a cut & paste from TS 36.101 and running the following filter: awk '{if ((NR % 7) == 1) printf("{"); printf ("%s",$0); if ((NR % 7) == 0) printf("},\n"); else printf(", ");}' | sed 's/ – /, /g'. More...
 
struct  ns3::LteSpectrumModelId
 LteSpectrumModelId structure. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Macros

#define NUM_EUTRA_BANDS   (sizeof(g_eutraChannelNumbers) / sizeof(EutraChannelNumbers))
 number of EUTRA bands More...
 

Functions

bool ns3::operator< (const LteSpectrumModelId &a, const LteSpectrumModelId &b)
 Constructor. More...
 
ostream & std::operator<< (ostream &os, const vector< int > &v)
 Stream insertion operator. More...
 

Variables

static const EutraChannelNumbers ns3::g_eutraChannelNumbers []
 Eutra channel numbers. More...
 
static std::map< LteSpectrumModelId, Ptr< SpectrumModel > > ns3::g_lteSpectrumModelMap
 LTE spectrum model map. More...
 

Macro Definition Documentation

◆ NUM_EUTRA_BANDS

#define NUM_EUTRA_BANDS   (sizeof(g_eutraChannelNumbers) / sizeof(EutraChannelNumbers))

number of EUTRA bands

Definition at line 114 of file lte-spectrum-value-helper.cc.

Function Documentation

◆ operator<<()

ostream& std::operator<< ( ostream &  os,
const vector< int > &  v 
)

Stream insertion operator.

Note
This function scope is strictly local, and can not be used in other source files.
Parameters
[in]osThe reference to the output stream.
[in]vThe std::vector<int>.
Returns
The reference to the output stream.

Definition at line 43 of file lte-spectrum-value-helper.cc.