A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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

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

Typedefs

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

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.
 
template<typename NUMERIC_TYPE , typename SIGNED_TYPE >
std::istream & ns3::operator>> (std::istream &is, const SequenceNumber< NUMERIC_TYPE, SIGNED_TYPE > &val)
 Stream extraction operator.
 
 ns3::TYPENAMEGET_DEFINE (SequenceNumber32)
 ns3::TypeNameGet<SequenceNumber32>() specialization.