blob: b69b3525dacc685f34e9935aa4725a0b44b5adc0 [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 insert(string& name);
int remove(string& name);
void sort();
int getSize()
{
return m_nameList.size();
}
std::list<string>& getNameList()
{
return m_nameList;
}
void print();
private:
std::list<string> m_nameList;
};
}//namespace nlsr
#endif