Collaboration diagram for Demonstrates usage of the ns3::Length class:Files | |
| file | length-example.cc |
| Demonstrates usage of the ns3::Length class. | |
Functions | |
| void | ArithmeticOperators () |
| Demonstrates the use of ns3::Length arithmetic operators. | |
| void | Constructors () |
| Demonstrates the use of ns3::Length constructors. | |
| void | Conversions () |
| Demonstrates the use of ns3::Length conversions. | |
| void | DivAndMod () |
| Demonstrates the use of ns3::Length multiplications and divisions. | |
| void | EqualityOperators () |
| Demonstrates the use of ns3::Length equality operators. | |
| void ArithmeticOperators | ( | ) |
Demonstrates the use of ns3::Length arithmetic operators.
Definition at line 85 of file length-example.cc.
References ns3::Meters().
Here is the call graph for this function:| void Constructors | ( | ) |
Demonstrates the use of ns3::Length constructors.
Definition at line 44 of file length-example.cc.
| void Conversions | ( | ) |
Demonstrates the use of ns3::Length conversions.
Definition at line 66 of file length-example.cc.
References ns3::Length::As().
Here is the call graph for this function:| void DivAndMod | ( | ) |
Demonstrates the use of ns3::Length multiplications and divisions.
Definition at line 149 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 | ( | ) |
Demonstrates the use of ns3::Length equality operators.
Definition at line 112 of file length-example.cc.
References ns3::Meters().
Here is the call graph for this function: