NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
common.hpp File Reference

Copyright (c) 2013-2016 Regents of the University of California. More...

#include "ndn-cxx-config.hpp"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <functional>
#include <limits>
#include <memory>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <unistd.h>
#include <utility>
#include <boost/is_placeholder.hpp>
#include <boost/assert.hpp>
#include <boost/concept_check.hpp>
#include <boost/noncopyable.hpp>
#include <boost/throw_exception.hpp>
#include "util/backports.hpp"
Include dependency graph for common.hpp:

Go to the source code of this file.

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 boost
 Copyright (c) 2013-2016 Regents of the University of California.
 

Macros

#define NDN_CXX_VIRTUAL_WITH_TESTS
 
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED   protected
 
#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE   private
 
#define NDN_CXX_PROTECTED_WITH_TESTS_ELSE_PRIVATE   private
 
#define DEPRECATED(func)   func
 
#define BOOST_BIND_NO_PLACEHOLDERS
 
#define NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(N)
 

Detailed Description

Copyright (c) 2013-2016 Regents of the University of California.

This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).

ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.

See AUTHORS.md for complete list of ndn-cxx authors and contributors. import common constructs for ndn-cxx library internal use

Warning
This file is implementation detail of ndn-cxx library. Aliases imported in this file SHOULD NOT be used outside of ndn-cxx.

Definition in file common.hpp.

Macro Definition Documentation

◆ NDN_CXX_VIRTUAL_WITH_TESTS

#define NDN_CXX_VIRTUAL_WITH_TESTS

Definition at line 41 of file common.hpp.

◆ NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED

#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED   protected

Definition at line 42 of file common.hpp.

Referenced by ndn::Face::getIoService(), and ndn::util::InMemoryStorage::size().

◆ NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE

#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE   private

◆ NDN_CXX_PROTECTED_WITH_TESTS_ELSE_PRIVATE

#define NDN_CXX_PROTECTED_WITH_TESTS_ELSE_PRIVATE   private

Definition at line 44 of file common.hpp.

◆ DEPRECATED

#define DEPRECATED (   func )    func

Definition at line 71 of file common.hpp.

Referenced by ndn::Face::Error::Error().

◆ BOOST_BIND_NO_PLACEHOLDERS

#define BOOST_BIND_NO_PLACEHOLDERS

Definition at line 96 of file common.hpp.

◆ NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER

#define NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER (   N)
Value:
template<> \
struct is_placeholder<typename std::remove_const<decltype(_##N)>::type> \
{ \
enum _vt { \
value = N \
}; \
};

Definition at line 99 of file common.hpp.