Template Numerical Library version\ main:f17d0c8
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 >:
Collaboration graph
[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
 
ValuegetElement (KeyType key)
 
const ValuegetElement (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: