Template Numerical Library: TNL::Containers::IndexedMap< Value, Index, Key > Class Template Reference

Template Numerical Library version\ main:0b2c40fb1

Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Types | Protected Attributes | List of all members
TNL::Containers::IndexedMap< Value, Index, Key > Class Template Reference
Collaboration diagram for TNL::Containers::IndexedMap< Value, Index, Key >:
[legend]

## Classes
struct | DataWithIndex

## Public Types
using | IndexType = Index
using | KeyType = Key
using | ValueType = Value

## Public Member Functions
bool | find (const ValueType &data, IndexType &index) const
Value & | getElement (KeyType key)
const Value & | getElement (KeyType key) const
IndexType | getSize () const
IndexType | insert (const ValueType &data)
void | print (std::ostream &str) const
void | reset ()
template<typename ArrayType>
void | toArray (ArrayType &array) const

## Protected Types
using | STDMapIteratorType = typename STDMapType::const_iterator
using | STDMapType = std::map< Key, DataWithIndex >
using | STDMapValueType = typename STDMapType::value_type

## Protected Attributes
STDMapType | map

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

- src/TNL/Containers/IndexedMap.h
- src/TNL/Containers/IndexedMap_impl.h