23 #ifndef NLSR_NAME_HELPER_HPP
24 #define NLSR_NAME_HELPER_HPP
41 ndn::name::Component component(searchString);
42 size_t nameSize = name.size();
43 for (uint32_t i = 0; i < nameSize; i++) {
44 if (component == name[i]) {
int32_t getNameComponentPosition(const ndn::Name &name, const std::string &searchString)
search a name component in ndn::Name and return the position of the component
Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California,...