26 #ifndef NFD_CORE_COMMON_HPP 27 #define NFD_CORE_COMMON_HPP 29 #include "core/config.hpp" 32 #define VIRTUAL_WITH_TESTS virtual 33 #define PUBLIC_WITH_TESTS_ELSE_PROTECTED public 34 #define PUBLIC_WITH_TESTS_ELSE_PRIVATE public 35 #define PROTECTED_WITH_TESTS_ELSE_PRIVATE protected 36 #define OVERRIDE_WITH_TESTS_ELSE_FINAL override 37 #define FINAL_UNLESS_WITH_TESTS 39 #define VIRTUAL_WITH_TESTS 40 #define PUBLIC_WITH_TESTS_ELSE_PROTECTED protected 41 #define PUBLIC_WITH_TESTS_ELSE_PRIVATE private 42 #define PROTECTED_WITH_TESTS_ELSE_PRIVATE private 43 #define OVERRIDE_WITH_TESTS_ELSE_FINAL final 44 #define FINAL_UNLESS_WITH_TESTS final 56 #include <unordered_map> 57 #include <unordered_set> 61 #include <ndn-cxx/data.hpp> 62 #include <ndn-cxx/delegation.hpp> 63 #include <ndn-cxx/delegation-list.hpp> 64 #include <ndn-cxx/interest.hpp> 65 #include <ndn-cxx/name.hpp> 66 #include <ndn-cxx/encoding/block.hpp> 67 #include <ndn-cxx/lp/nack.hpp> 68 #include <ndn-cxx/net/face-uri.hpp> 69 #include <ndn-cxx/util/backports.hpp> 70 #include <ndn-cxx/util/exception.hpp> 71 #include <ndn-cxx/util/scheduler.hpp> 72 #include <ndn-cxx/util/signal.hpp> 73 #include <ndn-cxx/util/time.hpp> 75 #include <boost/asio.hpp> 76 #include <boost/assert.hpp> 77 #include <boost/core/noncopyable.hpp> 78 #include <boost/lexical_cast.hpp> 79 #include <boost/property_tree/ptree.hpp> 85 using boost::noncopyable;
87 using std::shared_ptr;
88 using std::unique_ptr;
90 using std::make_shared;
91 using std::make_unique;
93 using std::static_pointer_cast;
94 using std::dynamic_pointer_cast;
95 using std::const_pointer_cast;
103 using ndn::to_string;
107 using ndn::Delegation;
108 using ndn::DelegationList;
112 using ndn::PartialName;
113 using ndn::Scheduler;
121 namespace lp = ndn::lp;
122 namespace name = ndn::name;
123 namespace scheduler = ndn::scheduler;
124 namespace signal = ndn::util::signal;
125 namespace time = ndn::time;
127 using ndn::operator
""_block;
131 #endif // NFD_CORE_COMMON_HPP
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...