NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::name_tree::Node Class Reference

a hashtable node More...

#include <name-tree-hashtable.hpp>

Inheritance diagram for nfd::name_tree::Node:
Collaboration diagram for nfd::name_tree::Node:

Public Member Functions

 Node (HashValue h, const Name &name)
 ~Node ()

Public Attributes

const HashValue hash
Entry entry

Detailed Description

a hashtable node

Zero or more nodes can be added to a hashtable bucket. They are organized as a doubly linked list through prev and next pointers.

Definition at line 61 of file name-tree-hashtable.hpp.

Constructor & Destructor Documentation

◆ Node()

nfd::name_tree::Node::Node ( HashValue  h,
const Name name 
entry.getName() == name
getNode(entry) == this

Definition at line 92 of file name-tree-hashtable.cpp.

◆ ~Node()

nfd::name_tree::Node::~Node ( )
prev == nullptr
next == nullptr

Definition at line 100 of file name-tree-hashtable.cpp.

References next, and prev.

Member Data Documentation

◆ hash

◆ prev

Node* nfd::name_tree::Node::prev

Definition at line 76 of file name-tree-hashtable.hpp.

Referenced by nfd::name_tree::Hashtable::~Hashtable(), and ~Node().

◆ next

◆ entry

The documentation for this class was generated from the following files: