represent a PIT token field
More...
#include <ndn-cxx/lp/pit-token.hpp>
◆ PitToken()
ndn::lp::PitToken::PitToken |
( |
const std::pair< Buffer::const_iterator, Buffer::const_iterator > & |
value | ) |
|
|
inlineexplicit |
Construct from header field.
- Exceptions
-
Definition at line 47 of file pit-token.hpp.
◆ get() [1/2]
- Returns
- pointer to the first byte of the buffer, cast to the requested type T
Definition at line 98 of file buffer.hpp.
◆ get() [2/2]
template<class T >
const T* ndn::Buffer::get |
( |
| ) |
const |
|
inlinenoexceptinherited |
- Returns
- const pointer to the first byte of the buffer, cast to the requested type T
Definition at line 107 of file buffer.hpp.
◆ getTypeId()
static constexpr int ndn::lp::PitToken::getTypeId |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ operator std::pair< Buffer::const_iterator, Buffer::const_iterator >()
ndn::lp::PitToken::operator std::pair< Buffer::const_iterator, Buffer::const_iterator > |
( |
| ) |
const |
|
inline |
Convert to header field.
- Exceptions
-
Definition at line 56 of file pit-token.hpp.
◆ elements
T std::vector< T >::elements |
|
inherited |