Public Member Functions | |
Entry () | |
Create an ExcludeLite::Entry of type ndn_Exclude_ANY. | |
Entry (const uint8_t *component, size_t componentLength) | |
Create an ExcludeLite::Entry of type ndn_Exclude_COMPONENT with the given component value. More... | |
Entry (const BlobLite &component) | |
Create an ExcludeLite::Entry of type ndn_Exclude_COMPONENT, taking the component pointer and size from the BlobLite value. More... | |
ndn_ExcludeType | getType () const |
const NameLite::Component & | getComponent () const |
Static Public Member Functions | |
static Entry & | downCast (ndn_ExcludeEntry &entry) |
Downcast the reference to the ndn_ExcludeEntry struct to an ExcludeLite::Entry. More... | |
static const Entry & | downCast (const ndn_ExcludeEntry &entry) |
ndn::ExcludeLite::Entry::Entry | ( | const uint8_t * | component, |
size_t | componentLength | ||
) |
Create an ExcludeLite::Entry of type ndn_Exclude_COMPONENT with the given component value.
component | The pre-allocated buffer for the component value. |
componentLength | the number of bytes in value. |
ndn::ExcludeLite::Entry::Entry | ( | const BlobLite & | component | ) |
Create an ExcludeLite::Entry of type ndn_Exclude_COMPONENT, taking the component pointer and size from the BlobLite value.
component | The BlobLite with the pointer to use for the component. |
|
inlinestatic |
Downcast the reference to the ndn_ExcludeEntry struct to an ExcludeLite::Entry.
entry | A reference to the ndn_ExcludeEntry struct. |