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>
|
| int | active |
| | 1 if the flag is set, 0 if cleared. More...
|
| |
|
int | childInherit |
| |
|
int | advertise |
| |
|
int | last |
| |
|
int | capture |
| |
|
int | local |
| |
|
int | tap |
| |
|
int | captureOk |
| |
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.
| bool ndn::ForwardingFlags::getActive |
( |
| ) |
const |
|
inline |
Get the value of the "active" flag.
- Returns
- true if the flag is set, false if it is cleared.
| bool ndn::ForwardingFlags::getAdvertise |
( |
| ) |
const |
|
inline |
Get the value of the "advertise" flag.
- Returns
- true if the flag is set, false if it is cleared.
| 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::getCaptureOk |
( |
| ) |
const |
|
inline |
Get the value of the "captureOk" 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.
| bool ndn::ForwardingFlags::getLast |
( |
| ) |
const |
|
inline |
Get the value of the "last" flag.
- Returns
- true if the flag is set, false if it is cleared.
| bool ndn::ForwardingFlags::getLocal |
( |
| ) |
const |
|
inline |
Get the value of the "local" flag.
- Returns
- true if the flag is set, false if it is cleared.
| bool ndn::ForwardingFlags::getTap |
( |
| ) |
const |
|
inline |
Get the value of the "tap" flag.
- Returns
- true if the flag is set, false if it is cleared.
| void ndn::ForwardingFlags::setActive |
( |
bool |
active | ) |
|
|
inline |
Set the value of the "active" flag.
- Parameters
-
| active | true to set the flag, false to clear it. |
| void ndn::ForwardingFlags::setAdvertise |
( |
bool |
advertise | ) |
|
|
inline |
Set the value of the "advertise" flag.
- Parameters
-
| advertise | true to set the flag, false to clear it. |
| 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::setCaptureOk |
( |
bool |
captureOk | ) |
|
|
inline |
Set the value of the "captureOk" flag.
- Parameters
-
| captureOk | 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. |
| void ndn::ForwardingFlags::setLast |
( |
bool |
last | ) |
|
|
inline |
Set the value of the "last" flag.
- Parameters
-
| last | true to set the flag, false to clear it. |
| void ndn::ForwardingFlags::setLocal |
( |
bool |
local | ) |
|
|
inline |
Set the value of the "local" flag.
- Parameters
-
| local | true to set the flag, false to clear it. |
| void ndn::ForwardingFlags::setTap |
( |
bool |
tap | ) |
|
|
inline |
Set the value of the "tap" flag.
- Parameters
-
| tap | true to set the flag, false to clear it. |
The documentation for this class was generated from the following files: