A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
data-rate.cc File Reference
#include "data-rate.h"
#include "ns3/nstime.h"
#include "ns3/fatal-error.h"
#include "ns3/log.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)
 
static bool DoParse (const std::string s, uint64_t *v)
 
 NS_LOG_COMPONENT_DEFINE ("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)
 
std::istream & ns3::operator>> (std::istream &is, DataRate &rate)
 

Function Documentation

static bool DoParse ( const std::string  s,
uint64_t *  v 
)
static

Definition at line 29 of file data-rate.cc.

References NS_LOG_FUNCTION.

Referenced by ns3::DataRate::DataRate(), and ns3::operator>>().

+ Here is the caller graph for this function:

NS_LOG_COMPONENT_DEFINE ( "DataRate"  )