GigaPasjans
Loading...
Searching...
No Matches
PairedVector< Nullable > Class Template Reference

A utility which contains essential operation functions for list of pairs. More...

#include <Collections.h>

Static Public Member Functions

template<typename K, typename V>
static FORCE_INLINE void RemoveByKey (std::vector< std::pair< K, V > > &vector, const K &key)
 Finds and deletes entry for given key.
 
template<typename K, typename V>
static FORCE_INLINE std::vector< std::pair< K, V > >::iterator GetIteratorByKey (std::vector< std::pair< K, V > > &vector, const K &key)
 Finds and returns entry's iterator for given key.
 
template<typename K, typename V>
static FORCE_INLINE V GetByKey (std::vector< std::pair< K, V > > &vector, const K &key)
 Finds and returns entry's value for given key.
 
template<typename K, typename V>
static FORCE_INLINE bool MoveToLastIndex (std::vector< std::pair< K, V > > &vector, const K &key)
 Finds and moves entry to the top of a list for given key.
 

Detailed Description

template<auto Nullable>
class PairedVector< Nullable >

A utility which contains essential operation functions for list of pairs.


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