NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
concepts.hpp File Reference
#include "ndn-cxx/encoding/block.hpp"
#include "ndn-cxx/encoding/encoding-buffer.hpp"
#include <boost/concept/usage.hpp>
#include <boost/type_traits/has_equal_to.hpp>
#include <boost/type_traits/has_not_equal_to.hpp>
#include <boost/type_traits/has_left_shift.hpp>
Include dependency graph for concepts.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::WireEncodable< X >
 a concept check for TLV abstraction with .wireEncode method More...
 
class  ndn::WireEncodableWithEncodingBuffer< X >
 a concept check for TLV abstraction with .wireEncode method More...
 
class  ndn::WireDecodable< X >
 a concept check for TLV abstraction with .wireDecode method and constructible from Block More...
 
class  ndn::detail::NfdMgmtProtocolStruct< X >
 
class  ndn::StatusDatasetItem< X >
 concept check for an item in a Status Dataset More...
 
class  ndn::NotificationStreamItem< X >
 concept check for an item in a Notification Stream More...
 
class  ndn::detail::StlForwardIteratorConcept< T >
 

Namespaces

 ndn
 Copyright (c) 2011-2015 Regents of the University of California.
 
 ndn::detail
 

Macros

#define NDN_CXX_ASSERT_FORWARD_ITERATOR(T)
 assert T is a forward iterator More...
 

Macro Definition Documentation

◆ NDN_CXX_ASSERT_FORWARD_ITERATOR

#define NDN_CXX_ASSERT_FORWARD_ITERATOR (   T)
Value:

assert T is a forward iterator

See also
http://en.cppreference.com/w/cpp/concept/ForwardIterator
Note
A forward iterator should be default constructible, but boost::ForwardIterator follows SGI standard which doesn't require DefaultConstructible, so a separate check is needed.

Definition at line 147 of file concepts.hpp.