A Discrete-Event Network Simulator
API
Namespaces | Macros | Functions
int64x64.cc File Reference

Implementation of the streaming input and output operators for the ns3::int64x64_t type. More...

#include "int64x64.h"
#include <stdint.h>
#include <iostream>
#include <iomanip>
#include <sstream>
#include "assert.h"
#include "log.h"

Go to the source code of this file.

Namespaces

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

Macros

#define HEXHILOW(hi, lo)
 Print the high and low words of an int64x64 in hex, for debugging. More...
 

Functions

std::ostream & ns3::operator<< (std::ostream &os, const int64x64_t &value)
 Output streamer for int64x64_t. More...
 
std::istream & ns3::operator>> (std::istream &is, int64x64_t &value)
 Input streamer for int64x64_t. More...
 
static uint64_t ns3::ReadHiDigits (std::string str)
 Read the integer portion of a number from a string containing just the integral digits (no decimal point or fractional part). More...
 
static uint64_t ns3::ReadLoDigits (std::string str)
 Read the fractional part of a number from a string containing just the decimal digits of the fractional part (no integral part or decimal point). More...
 

Detailed Description

Implementation of the streaming input and output operators for the ns3::int64x64_t type.

Definition in file int64x64.cc.