A Discrete-Event Network Simulator
API
sequence-number.h File Reference
#include "ns3/type-name.h"
#include <iostream>
#include <limits>
#include <stdint.h>
+ Include dependency graph for sequence-number.h:

Go to the source code of this file.

Classes

class  ns3::SequenceNumber< NUMERIC_TYPE, SIGNED_TYPE >
 Generic "sequence number" class. More...
 

Namespaces

 ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
 
 ns3::TracedValueCallback
 TracedValue Callback function types.
 

Typedefs

typedef SequenceNumber< uint16_t, int16_t > ns3::SequenceNumber16
 16 bit Sequence number. More...
 
typedef SequenceNumber< uint32_t, int32_t > ns3::SequenceNumber32
 32 bit Sequence number. More...
 
typedef void(* ns3::TracedValueCallback::SequenceNumber32) (SequenceNumber32 oldValue, SequenceNumber32 newValue)
 TracedValue callback signature for SequenceNumber32. More...
 
typedef SequenceNumber< uint8_t, int8_t > ns3::SequenceNumber8
 8 bit Sequence number. More...
 

Functions

template<typename NUMERIC_TYPE , typename SIGNED_TYPE >
std::ostream & ns3::operator<< (std::ostream &os, const SequenceNumber< NUMERIC_TYPE, SIGNED_TYPE > &val)
 Stream insertion operator. More...
 
template<typename NUMERIC_TYPE , typename SIGNED_TYPE >
std::istream & ns3::operator>> (std::istream &is, const SequenceNumber< NUMERIC_TYPE, SIGNED_TYPE > &val)
 Stream extraction operator. More...
 
 ns3::TYPENAMEGET_DEFINE (SequenceNumber32)
 ns3::TypeNameGet<SequenceNumber32>() specialization. More...