Demonstrates usage of the ns3::Length class. More...
#include "ns3/core-module.h"#include "ns3/length.h"#include <iostream>
Include dependency graph for length-example.cc:Go to the source code of this file.
Typedefs | |
| using | Unit = Length::Unit |
Functions | |
| void | ArithmeticOperators () |
| void | Constructors () |
| void | Conversions () |
| void | DivAndMod () |
| void | EqualityOperators () |
Demonstrates usage of the ns3::Length class.
Definition in file length-example.cc.
| using Unit = Length::Unit |
Definition at line 34 of file length-example.cc.
| void ArithmeticOperators | ( | ) |
Definition at line 69 of file length-example.cc.
References ns3::Meters().
Here is the call graph for this function:| void Constructors | ( | ) |
Definition at line 36 of file length-example.cc.
| void Conversions | ( | ) |
Definition at line 55 of file length-example.cc.
References ns3::Length::As().
Here is the call graph for this function:| void DivAndMod | ( | ) |
Definition at line 122 of file length-example.cc.
References ns3::Length::As(), ns3::Div(), ns3::Feet(), and ns3::Mod().
Here is the call graph for this function:| void EqualityOperators | ( | ) |
Definition at line 92 of file length-example.cc.
References ns3::Meters().
Here is the call graph for this function: