Public Member Functions | |
ndn_LpPacketHeaderFieldType | getType () const |
Get the type of this header field. More... | |
const IncomingFaceIdLite & | getIncomingFaceId () const |
Get this field as an IncomingFaceId. More... | |
IncomingFaceIdLite & | getIncomingFaceId () |
const NetworkNackLite & | getNetworkNack () const |
Get this field as an NetworkNack. More... | |
NetworkNackLite & | getNetworkNack () |
Static Public Member Functions | |
static LpPacketHeaderFieldLite & | downCast (ndn_LpPacketHeaderField &lpPacketHeaderField) |
Downcast the reference to the ndn_LpPacketHeaderField struct to an LpPacketHeaderFieldLite. More... | |
static const LpPacketHeaderFieldLite & | downCast (const ndn_LpPacketHeaderField &lpPacketHeaderField) |
|
inlinestatic |
Downcast the reference to the ndn_LpPacketHeaderField struct to an LpPacketHeaderFieldLite.
lpPacketHeaderField | A reference to the ndn_LpPacketHeaderField struct. |
|
inline |
Get this field as an IncomingFaceId.
This assumes you checked that getType() is ndn_LpPacketHeaderFieldType_INCOMING_FACE_ID.
|
inline |
Get this field as an NetworkNack.
This assumes you checked that getType() is ndn_LpPacketHeaderFieldType_INCOMING_FACE_ID.
|
inline |
Get the type of this header field.