NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
name-tree.hpp File Reference
#include "common.hpp"
#include "name-tree-entry.hpp"
Include dependency graph for name-tree.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nfd::name_tree::AnyEntry
 
struct  nfd::name_tree::AnyEntrySubTree
 
class  nfd::NameTree
 Class Name Tree. More...
 
class  nfd::NameTree::const_iterator
 

Namespaces

 nfd
 Copyright (c) 2011-2015 Regents of the University of California.
 
 nfd::name_tree
 

Typedefs

typedef function< bool(const Entry &entry)> nfd::name_tree::EntrySelector
 a predicate to accept or reject an Entry in find operations More...
 
typedef function< std::pair< bool, bool >const Entry &entry)> nfd::name_tree::EntrySubTreeSelector
 a predicate to accept or reject an Entry and its children More...
 

Functions

size_t nfd::name_tree::computeHash (const Name &prefix)
 Compute the hash value of the given name prefix's WIRE FORMAT. More...
 
std::vector< size_t > nfd::name_tree::computeHashSet (const Name &prefix)
 Incrementally compute hash values. More...