blob: 3a0393a08045e820e5d19ca6d7335d1ae69092e4 [file] [log] [blame]
akmhoque298385a2014-02-13 14:13:09 -06001#ifndef NPL_HPP
2#define NPL_HPP
3
4#include<list>
5#include<string>
6#include <ndn-cpp-dev/face.hpp>
7
8using namespace std;
9
10class Npl{
11
12public:
13 Npl();
14 ~Npl();
15
16 int insertIntoNpl(string& name);
17 int removeFromNpl(string& name);
18 void sortNpl();
19 int getNplSize()
20 {
21 return nameList.size();
22 }
23 std::list<string>& getNameList()
24 {
25 return nameList;
26 }
27 void printNpl();
28
29private:
30 std::list<string> nameList;
31
32};
33
34#endif