A ForwardingFlags object holds the flags which specify how the forwarding daemon should forward an interest for a registered prefix.
More...
#include <ndnd-forwarding-flags.hpp>
A ForwardingFlags object holds the flags which specify how the forwarding daemon should forward an interest for a registered prefix.
We use a separate ForwardingFlags object to retain future compatibility if the daemon forwarding bits are changed, amended or deprecated.
Definition at line 22 of file ndnd-forwarding-flags.hpp.
| ndn::ndnd::ForwardingFlags::ForwardingFlags |
( |
| ) |
|
|
inline |
| ndn::ndnd::ForwardingFlags::ForwardingFlags |
( |
const Block & |
wire | ) |
|
|
inlineexplicit |
| bool ndn::ndnd::ForwardingFlags::getActive |
( |
| ) |
const |
|
inline |
Get the value of the "active" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 53 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getAdvertise |
( |
| ) |
const |
|
inline |
Get the value of the "advertise" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 65 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getCapture |
( |
| ) |
const |
|
inline |
Get the value of the "capture" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 77 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getCaptureOk |
( |
| ) |
const |
|
inline |
Get the value of the "captureOk" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 95 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getChildInherit |
( |
| ) |
const |
|
inline |
Get the value of the "childInherit" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 59 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getLast |
( |
| ) |
const |
|
inline |
Get the value of the "last" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 71 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getLocal |
( |
| ) |
const |
|
inline |
Get the value of the "local" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 83 of file ndnd-forwarding-flags.hpp.
| bool ndn::ndnd::ForwardingFlags::getTap |
( |
| ) |
const |
|
inline |
Get the value of the "tap" flag.
- Returns
- true if the flag is set, false if it is cleared.
Definition at line 89 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setActive |
( |
bool |
active | ) |
|
|
inline |
Set the value of the "active" flag.
- Parameters
-
| active | true to set the flag, false to clear it. |
Definition at line 101 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setAdvertise |
( |
bool |
advertise | ) |
|
|
inline |
Set the value of the "advertise" flag.
- Parameters
-
| advertise | true to set the flag, false to clear it. |
Definition at line 113 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setCapture |
( |
bool |
capture | ) |
|
|
inline |
Set the value of the "capture" flag.
- Parameters
-
| capture | true to set the flag, false to clear it. |
Definition at line 125 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setCaptureOk |
( |
bool |
captureOk | ) |
|
|
inline |
Set the value of the "captureOk" flag.
- Parameters
-
| captureOk | true to set the flag, false to clear it. |
Definition at line 143 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setChildInherit |
( |
bool |
childInherit | ) |
|
|
inline |
Set the value of the "childInherit" flag.
- Parameters
-
| childInherit | true to set the flag, false to clear it. |
Definition at line 107 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setLast |
( |
bool |
last | ) |
|
|
inline |
Set the value of the "last" flag.
- Parameters
-
| last | true to set the flag, false to clear it. |
Definition at line 119 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setLocal |
( |
bool |
local | ) |
|
|
inline |
Set the value of the "local" flag.
- Parameters
-
| local | true to set the flag, false to clear it. |
Definition at line 131 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::setTap |
( |
bool |
tap | ) |
|
|
inline |
Set the value of the "tap" flag.
- Parameters
-
| tap | true to set the flag, false to clear it. |
Definition at line 137 of file ndnd-forwarding-flags.hpp.
| void ndn::ndnd::ForwardingFlags::wireDecode |
( |
const Block & |
block | ) |
|
|
inline |
| const Block & ndn::ndnd::ForwardingFlags::wireEncode |
( |
| ) |
const |
|
inline |