Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::HashmapNode::HashmapNodeData Struct Reference

Hashmap node data. More...

#include <hashmap_node.h>

Collaboration diagram for roc::core::HashmapNode::HashmapNodeData:

Public Member Functions

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

Public Attributes

HashmapNodeDatabucket_prev
 Previous node in bucket. More...
 
HashmapNodeDatabucket_next
 Next node in bucket. More...
 
HashmapNodeDataall_prev
 Previous node in list of all nodes. More...
 
HashmapNodeDataall_next
 Next node in in list of all nodes. More...
 
hashsum_t hash
 Cached node hash. More...
 
void * bucket
 The bucket this node belongs to. More...
 

Detailed Description

Hashmap node data.

Definition at line 30 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 61 of file hashmap_node.h.

Member Data Documentation

◆ all_next

HashmapNodeData* roc::core::HashmapNode::HashmapNodeData::all_next

Next node in in list of all nodes.

Definition at line 41 of file hashmap_node.h.

◆ all_prev

HashmapNodeData* roc::core::HashmapNode::HashmapNodeData::all_prev

Previous node in list of all nodes.

Definition at line 38 of file hashmap_node.h.

◆ 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 49 of file hashmap_node.h.

◆ bucket_next

HashmapNodeData* roc::core::HashmapNode::HashmapNodeData::bucket_next

Next node in bucket.

Definition at line 35 of file hashmap_node.h.

◆ bucket_prev

HashmapNodeData* roc::core::HashmapNode::HashmapNodeData::bucket_prev

Previous node in bucket.

Definition at line 32 of file hashmap_node.h.

◆ hash

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

Cached node hash.

Definition at line 44 of file hashmap_node.h.


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