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

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

#include "ndn-cxx-config.hpp"
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <functional>
#include <limits>
#include <memory>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <unistd.h>
#include <boost/is_placeholder.hpp>
#include <boost/assert.hpp>
#include <boost/concept_check.hpp>
#include <boost/noncopyable.hpp>
#include <boost/throw_exception.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-2015 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 NDN_CXX_DECL_OVERRIDE
 expands to 'override' if compiler supports this feature, otherwise expands to nothing More...
 
#define NDN_CXX_DECL_FINAL
 expands to 'final' if compiler supports this feature, otherwise expands to nothing More...
 
#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-2014 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

#define NDN_CXX_VIRTUAL_WITH_TESTS

Definition at line 41 of file common.hpp.

#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PROTECTED   protected

Definition at line 42 of file common.hpp.

Referenced by ndn::util::InMemoryStorage::size().

#define NDN_CXX_PUBLIC_WITH_TESTS_ELSE_PRIVATE   private
#define NDN_CXX_PROTECTED_WITH_TESTS_ELSE_PRIVATE   private

Definition at line 44 of file common.hpp.

#define NDN_CXX_DECL_OVERRIDE

expands to 'override' if compiler supports this feature, otherwise expands to nothing

Definition at line 57 of file common.hpp.

Referenced by ndn::security::PibMemory::Error::Error().

#define NDN_CXX_DECL_FINAL

expands to 'final' if compiler supports this feature, otherwise expands to nothing

Definition at line 58 of file common.hpp.

Referenced by ndn::nfd::ControlParameters::Error::Error().

#define DEPRECATED (   func)    func

Definition at line 83 of file common.hpp.

#define BOOST_BIND_NO_PLACEHOLDERS

Definition at line 108 of file common.hpp.

#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 111 of file common.hpp.