blob: 91de260750448490ee20b91b0247a72ab57415e0 [file] [log] [blame]
#ifndef NPL_HPP
#define NPL_HPP
#include <list>
#include <string>
#include <ndn-cpp-dev/face.hpp>
namespace nlsr {
class Npl
{
public:
Npl();
~Npl();
int
insert(std::string& name);
int
remove(std::string& name);
void
sort();
int
getSize()
{
return m_nameList.size();
}
std::list<std::string>&
getNameList()
{
return m_nameList;
}
void
print();
private:
std::list<std::string> m_nameList;
};
}//namespace nlsr
#endif //NPL_HPP