A Discrete-Event Network Simulator
API
data-rate.cc File Reference
#include "data-rate.h"
#include "ns3/fatal-error.h"
#include "ns3/log.h"
#include "ns3/nstime.h"
+ Include dependency graph for data-rate.cc:

Go to the source code of this file.

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 

Functions

 ns3::ATTRIBUTE_HELPER_CPP (DataRate)
 
double ns3::operator* (const DataRate &lhs, const Time &rhs)
 Multiply datarate by a time value. More...
 
double ns3::operator* (const Time &lhs, const DataRate &rhs)
 Multiply time value by a data rate. More...
 
std::ostream & ns3::operator<< (std::ostream &os, const DataRate &rate)
 Stream insertion operator. More...
 
std::istream & ns3::operator>> (std::istream &is, DataRate &rate)
 Stream extraction operator. More...