NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::ndnlp::SequenceBlock Class Reference

represents a block of sequence numbers More...

#include <ndnlp-sequence-generator.hpp>

Public Member Functions

 SequenceBlock (uint64_t start, size_t count)
uint64_t operator[] (size_t pos) const
size_t count () const

Detailed Description

represents a block of sequence numbers

Definition at line 35 of file ndnlp-sequence-generator.hpp.

Constructor & Destructor Documentation

nfd::ndnlp::SequenceBlock::SequenceBlock ( uint64_t  start,
size_t  count 

Definition at line 30 of file ndnlp-sequence-generator.cpp.

Member Function Documentation

uint64_t nfd::ndnlp::SequenceBlock::operator[] ( size_t  pos) const
{ the pos-th sequence number }

Definition at line 54 of file ndnlp-sequence-generator.hpp.

size_t nfd::ndnlp::SequenceBlock::count ( ) const

Definition at line 62 of file ndnlp-sequence-generator.hpp.

The documentation for this class was generated from the following files: