A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches

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.

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.

Detailed Description

Demonstrates usage of the ns3::Length class.

Definition in file length-example.cc.