Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::HashmapNode< Tag > Class Template Reference

Base class for Hashmap element. More...

#include <hashmap_node.h>

Inheritance diagram for roc::core::HashmapNode< Tag >:
Collaboration diagram for roc::core::HashmapNode< Tag >:

Public Member Functions

HashmapDatahashmap_data () const
 Get pointer to internal data. More...
 

Static Public Member Functions

static HashmapNodehashmap_node (HashmapData *data)
 Get pointer to parent node from pointer to internal data. More...
 

Detailed Description

template<class Tag = void>
class roc::core::HashmapNode< Tag >

Base class for Hashmap element.

Remarks
Object should inherit this class to be able to be a member of Hashmap. Tag allows to inherit multiple copies of ListNode and include same object into multiple lists.

Definition at line 61 of file hashmap_node.h.

Member Function Documentation

◆ hashmap_data()

template<class Tag = void>
HashmapData* roc::core::HashmapNode< Tag >::hashmap_data ( ) const
inline

Get pointer to internal data.

Definition at line 76 of file hashmap_node.h.

◆ hashmap_node()

template<class Tag = void>
static HashmapNode* roc::core::HashmapNode< Tag >::hashmap_node ( HashmapData data)
inlinestatic

Get pointer to parent node from pointer to internal data.

Definition at line 71 of file hashmap_node.h.


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