A ForwardingFlags object holds the flags which specify how the forwarding daemon should forward an interest for a registered prefix.
More...
#include <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.
Set forwardingFlagsLite to have the values in this meta info object.
- Parameters
-
bool ndn::ForwardingFlags::getCapture |
( |
| ) |
const |
|
inline |
Get the value of the "capture" flag.
- Returns
- true if the flag is set, false if it is cleared.
bool ndn::ForwardingFlags::getChildInherit |
( |
| ) |
const |
|
inline |
Get the value of the "childInherit" flag.
- Returns
- true if the flag is set, false if it is cleared.
Set the values in this ForwardingFlags by copying from forwardingFlagsLite.
- Parameters
-
void ndn::ForwardingFlags::setCapture |
( |
bool |
capture | ) |
|
|
inline |
Set the value of the "capture" flag.
- Parameters
-
capture | true to set the flag, false to clear it. |
void ndn::ForwardingFlags::setChildInherit |
( |
bool |
childInherit | ) |
|
|
inline |
Set the value of the "childInherit" flag.
- Parameters
-
childInherit | true to set the flag, false to clear it. |
The documentation for this class was generated from the following file: