24 #ifndef NDN_UTIL_REGEX_REGEX_BACKREF_MANAGER_HPP 25 #define NDN_UTIL_REGEX_REGEX_BACKREF_MANAGER_HPP 27 #include "../../common.hpp" 39 pushRef(
const shared_ptr<RegexMatcher>& matcher);
44 m_backrefs.pop_back();
50 return m_backrefs.size();
53 shared_ptr<RegexMatcher>
57 std::vector<weak_ptr<RegexMatcher>> m_backrefs;
62 #endif // NDN_UTIL_REGEX_REGEX_BACKREF_MANAGER_HPP Copyright (c) 2013-2017 Regents of the University of California.
shared_ptr< RegexMatcher > getBackref(size_t i) const
size_t pushRef(const shared_ptr< RegexMatcher > &matcher)