Files | |
file | length-example.cc |
Demonstrates usage of the ns3::Length class. | |
Functions | |
void | ArithmeticOperators () |
Demonstrates the use of ns3::Length arithmetic operators. More... | |
void | Constructors () |
Demonstrates the use of ns3::Length constructors. More... | |
void | Conversions () |
Demonstrates the use of ns3::Length conversions. More... | |
void | DivAndMod () |
Demonstrates the use of ns3::Length multiplications and divisions. More... | |
void | EqualityOperators () |
Demonstrates the use of ns3::Length equality operators. More... | |
void ArithmeticOperators | ( | ) |
Demonstrates the use of ns3::Length arithmetic operators.
Definition at line 85 of file length-example.cc.
References ns3::Meters().
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().
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().
void EqualityOperators | ( | ) |
Demonstrates the use of ns3::Length equality operators.
Definition at line 112 of file length-example.cc.
References ns3::Meters().