IncomingFaceIdLite represents the incoming face ID header field in an NDNLPv2 packet. More...
#include <incoming-face-id-lite.hpp>
Public Member Functions | |
IncomingFaceIdLite () | |
Create a IncomingFaceIdLite where all the values are unspecified. | |
uint64_t | getFaceId () const |
Get the incoming face ID value. More... | |
void | setFaceId (uint64_t faceId) |
Set the face ID value. More... | |
Static Public Member Functions | |
static const IncomingFaceIdLite * | getFirstHeader (const LpPacketLite &lpPacket) |
Get the first header field in lpPacket which is an IncomingFaceIdLite. More... | |
static IncomingFaceIdLite & | downCast (ndn_IncomingFaceId &incomingFaceId) |
Downcast the reference to the ndn_IncomingFaceId struct to an IncomingFaceIdLite. More... | |
static const IncomingFaceIdLite & | downCast (const ndn_IncomingFaceId &incomingFaceId) |
IncomingFaceIdLite represents the incoming face ID header field in an NDNLPv2 packet.
|
inlinestatic |
Downcast the reference to the ndn_IncomingFaceId struct to an IncomingFaceIdLite.
incomingFaceId | A reference to the ndn_IncomingFaceId struct. |
|
inline |
Get the incoming face ID value.
|
static |
Get the first header field in lpPacket which is an IncomingFaceIdLite.
lpPacket | The ndn_LpPacket struct with the header fields to search. |
|
inline |
Set the face ID value.
faceId | The incoming face ID value. |