blob: dd1bafa613ae188e9a2f239d733e994990fdf7b3 [file] [log] [blame]
#ifndef NPL_HPP
#define NPL_HPP
#include<list>
#include<string>
#include <ndn-cpp-dev/face.hpp>
namespace nlsr
{
using namespace std;
class Npl
{
public:
Npl();
~Npl();
int insertIntoNpl(string& name);
int removeFromNpl(string& name);
void sortNpl();
int getNplSize()
{
return nameList.size();
}
std::list<string>& getNameList()
{
return nameList;
}
void printNpl();
private:
std::list<string> nameList;
};
}//namespace nlsr
#endif