22 #ifndef NDN_SELECTORS_HPP
23 #define NDN_SELECTORS_HPP
61 template<encoding::Tag TAG>
81 return m_minSuffixComponents;
90 return m_maxSuffixComponents;
99 return m_publisherPublicKeyLocator;
117 return m_childSelector;
126 return m_mustBeFresh;
143 int m_minSuffixComponents;
144 int m_maxSuffixComponents;
150 mutable Block m_wire;
155 #endif // NDN_SELECTORS_HPP
void wireDecode(const Block &wire)
Decode the input from wire format.
Copyright (c) 2013-2016 Regents of the University of California.
Selectors & setMustBeFresh(bool mustBeFresh)
Class representing a wire element of NDN-TLV packet format.
Copyright (c) 2013-2016 Regents of the University of California.
Selectors & setMaxSuffixComponents(int maxSuffixComponents)
Selectors & setExclude(const Exclude &exclude)
const KeyLocator & getPublisherPublicKeyLocator() const
Selectors & setChildSelector(int childSelector)
Error(const std::string &what)
Selectors & setMinSuffixComponents(int minSuffixComponents)
const Exclude & getExclude() const
int getChildSelector() const
const Block & wireEncode() const
Encode to a wire format.
int getMustBeFresh() const
Abstraction implementing Interest selectors.
bool operator==(const Selectors &other) const
int getMinSuffixComponents() const
bool operator!=(const Selectors &other) const
int getMaxSuffixComponents() const
represents an error in TLV encoding or decoding
Represents Exclude selector in NDN Interest.
Selectors & setPublisherPublicKeyLocator(const KeyLocator &keyLocator)