openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Types | Public Member Functions | List of all members
hashmap::idict< K, offset, OPS > Class Template Reference

#include <hashmap.hpp>

Inheritance diagram for hashmap::idict< K, offset, OPS >:
Collaboration diagram for hashmap::idict< K, offset, OPS >:

Public Types

typedef unordered_set< K, OPS >::const_iterator const_iterator
 

Public Member Functions

hm_int operator() (const K &key)
 
hm_int at (const K &key) const
 
hm_int at (const K &key, hm_int defval) const
 
hm_int count (const K &key) const
 
void expect (const K &key, hm_int i)
 
const K & operator[] (hm_int index) const
 
void swap (idict &other)
 
void reserve (size_t n)
 
size_t size () const
 
bool empty () const
 
void clear ()
 
const_iterator begin () const
 
const_iterator end () const
 

Detailed Description

template<typename K, hm_int offset, typename OPS>
class hashmap::idict< K, offset, OPS >

Definition at line 240 of file hashmap.hpp.

Member Typedef Documentation

◆ const_iterator

template<typename K, hm_int offset, typename OPS>
typedef unordered_set<K, OPS>::const_iterator hashmap::idict< K, offset, OPS >::const_iterator

Definition at line 1083 of file hashmap.hpp.

Member Function Documentation

◆ at() [1/2]

template<typename K, hm_int offset, typename OPS>
hm_int hashmap::idict< K, offset, OPS >::at ( const K &  key) const
inline

Definition at line 1094 of file hashmap.hpp.

Here is the caller graph for this function:

◆ at() [2/2]

template<typename K, hm_int offset, typename OPS>
hm_int hashmap::idict< K, offset, OPS >::at ( const K &  key,
hm_int  defval 
) const
inline

Definition at line 1103 of file hashmap.hpp.

◆ begin()

template<typename K, hm_int offset, typename OPS>
const_iterator hashmap::idict< K, offset, OPS >::begin ( ) const
inline

Definition at line 1141 of file hashmap.hpp.

Here is the caller graph for this function:

◆ clear()

template<typename K, hm_int offset, typename OPS>
void hashmap::idict< K, offset, OPS >::clear ( )
inline

Definition at line 1139 of file hashmap.hpp.

Here is the caller graph for this function:

◆ count()

template<typename K, hm_int offset, typename OPS>
hm_int hashmap::idict< K, offset, OPS >::count ( const K &  key) const
inline

Definition at line 1112 of file hashmap.hpp.

◆ empty()

template<typename K, hm_int offset, typename OPS>
bool hashmap::idict< K, offset, OPS >::empty ( ) const
inline

Definition at line 1138 of file hashmap.hpp.

Here is the caller graph for this function:

◆ end()

template<typename K, hm_int offset, typename OPS>
const_iterator hashmap::idict< K, offset, OPS >::end ( ) const
inline

Definition at line 1142 of file hashmap.hpp.

Here is the caller graph for this function:

◆ expect()

template<typename K, hm_int offset, typename OPS>
void hashmap::idict< K, offset, OPS >::expect ( const K &  key,
hm_int  i 
)
inline

Definition at line 1119 of file hashmap.hpp.

◆ operator()()

template<typename K, hm_int offset, typename OPS>
hm_int hashmap::idict< K, offset, OPS >::operator() ( const K &  key)
inline

Definition at line 1085 of file hashmap.hpp.

◆ operator[]()

template<typename K, hm_int offset, typename OPS>
const K& hashmap::idict< K, offset, OPS >::operator[] ( hm_int  index) const
inline

Definition at line 1126 of file hashmap.hpp.

◆ reserve()

template<typename K, hm_int offset, typename OPS>
void hashmap::idict< K, offset, OPS >::reserve ( size_t  n)
inline

Definition at line 1136 of file hashmap.hpp.

Here is the caller graph for this function:

◆ size()

template<typename K, hm_int offset, typename OPS>
size_t hashmap::idict< K, offset, OPS >::size ( ) const
inline

Definition at line 1137 of file hashmap.hpp.

Here is the caller graph for this function:

◆ swap()

template<typename K, hm_int offset, typename OPS>
void hashmap::idict< K, offset, OPS >::swap ( idict< K, offset, OPS > &  other)
inline

Definition at line 1131 of file hashmap.hpp.

Here is the caller graph for this function:

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