NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::lp::PitToken Class Reference

represent a PIT token field More...

#include <pit-token.hpp>

Inheritance diagram for ndn::lp::PitToken:
Collaboration diagram for ndn::lp::PitToken:

Public Member Functions

 PitToken (const std::pair< Buffer::const_iterator, Buffer::const_iterator > &value)
 Construct from header field. More...
 operator std::pair< Buffer::const_iterator, Buffer::const_iterator > () const
 Convert to header field. More...
- Public Member Functions inherited from ndn::Buffer
 Buffer ()=default
 Creates an empty Buffer. More...
 Buffer (const Buffer &)
 Copy constructor. More...
Bufferoperator= (const Buffer &)
 Copy assignment operator. More...
 Buffer (Buffer &&) noexcept
 Move constructor. More...
Bufferoperator= (Buffer &&) noexcept
 Move assignment operator. More...
 Buffer (size_t size)
 Creates a Buffer with pre-allocated size. More...
 Buffer (const void *buf, size_t length)
 Creates a Buffer by copying contents from a raw buffer. More...
template<class InputIt >
 Buffer (InputIt first, InputIt last)
 Creates a Buffer by copying the elements of the range [first, last) More...
 Buffer (std::initializer_list< uint8_t > il)
 Creates a Buffer with the contents of an initializer list. More...
template<class T >
T * get () noexcept
template<class T >
const T * get () const noexcept
- Public Member Functions inherited from ndn::Tag
virtual ~Tag ()

Static Public Member Functions

static constexpr int getTypeId () noexcept
- Static Public Member Functions inherited from ndn::Tag
static constexpr int getTypeId () noexcept

Detailed Description

represent a PIT token field

See also

Definition at line 34 of file pit-token.hpp.

Constructor & Destructor Documentation

◆ PitToken()

ndn::lp::PitToken::PitToken ( const std::pair< Buffer::const_iterator, Buffer::const_iterator > &  value)

Construct from header field.

ndn::tlv::Errorelement length is out of range.

Definition at line 47 of file pit-token.hpp.

Member Function Documentation

◆ getTypeId()

static constexpr int ndn::lp::PitToken::getTypeId ( )

Definition at line 38 of file pit-token.hpp.

◆ operator std::pair< Buffer::const_iterator, Buffer::const_iterator >()

ndn::lp::PitToken::operator std::pair< Buffer::const_iterator, Buffer::const_iterator > ( ) const

Convert to header field.

ndn::tlv::Errorelement length is out of range.

Definition at line 56 of file pit-token.hpp.

References ndn::lp::operator<<().

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