Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
Loading...
Searching...
No Matches
roc::core::HashmapNode::HashmapNodeData Struct Reference

Hashmap node data. More...

#include <hashmap_node.h>

Public Member Functions

HashmapNodecontainer_of ()
 Get HashmapNode object that contains this HashmapData object.
 

Public Attributes

HashmapNodeDataprev
 Previous node in bucket.
 
HashmapNodeDatanext
 Next node in bucket.
 
hashsum_t hash
 Cached node hash.
 
void * bucket
 The bucket this node belongs to.
 

Detailed Description

Hashmap node data.

Definition at line 30 of file hashmap_node.h.

Constructor & Destructor Documentation

◆ HashmapNodeData()

roc::core::HashmapNode::HashmapNodeData::HashmapNodeData ( )
inline

Definition at line 45 of file hashmap_node.h.

Member Function Documentation

◆ container_of()

HashmapNode * roc::core::HashmapNode::HashmapNodeData::container_of ( )
inline

Get HashmapNode object that contains this HashmapData object.

Definition at line 53 of file hashmap_node.h.

Member Data Documentation

◆ bucket

void* roc::core::HashmapNode::HashmapNodeData::bucket

The bucket this node belongs to.

Remarks
NULL if node is not member of any hashmap.

Definition at line 43 of file hashmap_node.h.

◆ hash

hashsum_t roc::core::HashmapNode::HashmapNodeData::hash

Cached node hash.

Definition at line 38 of file hashmap_node.h.

◆ next

HashmapNodeData* roc::core::HashmapNode::HashmapNodeData::next

Next node in bucket.

Definition at line 35 of file hashmap_node.h.

◆ prev

HashmapNodeData* roc::core::HashmapNode::HashmapNodeData::prev

Previous node in bucket.

Definition at line 32 of file hashmap_node.h.


The documentation for this struct was generated from the following file: