NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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

◆ SequenceBlock()

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

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

Member Function Documentation

◆ operator[]()

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

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

◆ count()

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

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


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