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 74 of file length-example.cc.
References ns3::Meters().
void Constructors | ( | ) |
Demonstrates the use of ns3::Length constructors.
Definition at line 33 of file length-example.cc.
void Conversions | ( | ) |
Demonstrates the use of ns3::Length conversions.
Definition at line 55 of file length-example.cc.
References ns3::Length::As().
void DivAndMod | ( | ) |
Demonstrates the use of ns3::Length multiplications and divisions.
Definition at line 138 of file length-example.cc.
References ns3::Length::As(), ns3::Div(), ns3::Feet(), and ns3::Mod().
void EqualityOperators | ( | ) |
Demonstrates the use of ns3::Length equality operators.
Definition at line 101 of file length-example.cc.
References ns3::Meters().