represent a PIT token field More...
#include <pit-token.hpp>
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... | |
Buffer & | operator= (const Buffer &) |
Copy assignment operator. More... | |
Buffer (Buffer &&) noexcept | |
Move constructor. More... | |
Buffer & | operator= (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... | |
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 |
represent a PIT token field
Definition at line 34 of file pit-token.hpp.
|
inlineexplicit |
Construct from header field.
ndn::tlv::Error | element length is out of range. |
Definition at line 47 of file pit-token.hpp.
|
inlinestaticconstexprnoexcept |
Definition at line 38 of file pit-token.hpp.
|
inline |
Convert to header field.
ndn::tlv::Error | element length is out of range. |
Definition at line 56 of file pit-token.hpp.