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 FINAL_UNLESS_WITH_TESTS 38 #define VIRTUAL_WITH_TESTS 39 #define PUBLIC_WITH_TESTS_ELSE_PROTECTED protected 40 #define PUBLIC_WITH_TESTS_ELSE_PRIVATE private 41 #define PROTECTED_WITH_TESTS_ELSE_PRIVATE private 42 #define FINAL_UNLESS_WITH_TESTS final 54 #include <unordered_map> 55 #include <unordered_set> 59 #include <ndn-cxx/data.hpp> 60 #include <ndn-cxx/delegation.hpp> 61 #include <ndn-cxx/delegation-list.hpp> 62 #include <ndn-cxx/exclude.hpp> 63 #include <ndn-cxx/interest.hpp> 64 #include <ndn-cxx/name.hpp> 65 #include <ndn-cxx/encoding/block.hpp> 66 #include <ndn-cxx/lp/nack.hpp> 67 #include <ndn-cxx/net/face-uri.hpp> 68 #include <ndn-cxx/util/backports.hpp> 69 #include <ndn-cxx/util/signal.hpp> 71 #include <boost/asio.hpp> 72 #include <boost/assert.hpp> 73 #include <boost/lexical_cast.hpp> 74 #include <boost/noncopyable.hpp> 75 #include <boost/property_tree/ptree.hpp> 76 #include <boost/throw_exception.hpp> 82 using boost::noncopyable;
84 using std::shared_ptr;
85 using std::unique_ptr;
87 using std::make_shared;
88 using ndn::make_unique;
89 using std::enable_shared_from_this;
91 using std::static_pointer_cast;
92 using std::dynamic_pointer_cast;
93 using std::const_pointer_cast;
100 using ndn::to_string;
104 using ndn::Delegation;
105 using ndn::DelegationList;
110 using ndn::PartialName;
117 namespace lp = ndn::lp;
118 namespace name = ndn::name;
119 namespace time = ndn::time;
120 namespace signal = ndn::util::signal;
124 #endif // NFD_CORE_COMMON_HPP Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...