An Exclude::Entry holds an ndn_ExcludeType, and if it is a COMPONENT, it holds the component value. More...
#include <exclude.hpp>
Public Member Functions | |
| Entry () | |
| Create an Exclude::Entry of type ndn_Exclude_ANY. | |
| Entry (const uint8_t *component, size_t componentLen) | |
| Create an Exclude::Entry of type ndn_Exclude_COMPONENT. | |
| Entry (const Name::Component &component) | |
| Create an Exclude::Entry of type ndn_Exclude_COMPONENT. | |
| void | get (struct ndn_ExcludeEntry &excludeEntryStruct) const |
| Set the type in the excludeEntryStruct and to point to this entry, without copying any memory. More... | |
| ndn_ExcludeType | getType () const |
| const Name::Component & | getComponent () const |
An Exclude::Entry holds an ndn_ExcludeType, and if it is a COMPONENT, it holds the component value.
| void ndn::Exclude::Entry::get | ( | struct ndn_ExcludeEntry & excludeEntryStruct | ) | const |
Set the type in the excludeEntryStruct and to point to this entry, without copying any memory.
WARNING: The resulting pointer in excludeEntryStruct is invalid after a further use of this object which could reallocate memory.
| excludeEntryStruct | the C ndn_ExcludeEntry struct to receive the pointer |
1.8.9.1