blob: 91de260750448490ee20b91b0247a72ab57415e0 [file] [log] [blame]
akmhoque53353462014-04-22 08:43:45 -05001#ifndef NPL_HPP
2#define NPL_HPP
3
4#include <list>
5#include <string>
6#include <ndn-cpp-dev/face.hpp>
7
8namespace nlsr {
9class Npl
10{
11
12public:
13 Npl();
14
15 ~Npl();
16
17 int
18 insert(std::string& name);
19
20 int
21 remove(std::string& name);
22
23 void
24 sort();
25
26 int
27 getSize()
28 {
29 return m_nameList.size();
30 }
31
32 std::list<std::string>&
33 getNameList()
34 {
35 return m_nameList;
36 }
37
38 void
39 print();
40
41private:
42 std::list<std::string> m_nameList;
43
44};
45
46}//namespace nlsr
47
48#endif //NPL_HPP