MimIR 0.1
MimIR is my Intermediate Representation
|
#include <mim/util/indexmap.h>
Public Member Functions | |
IndexMap (const IndexMap &other) | |
IndexMap (IndexMap &&other) noexcept | |
IndexMap (const Indexer &indexer, const Value &value=Value()) | |
IndexMap (const Indexer &indexer, View< Value > array) | |
template<class I > | |
IndexMap (const Indexer &indexer, const I begin, const I end) | |
IndexMap & | operator= (IndexMap other) noexcept |
const Indexer & | indexer () const |
size_t | capacity () const |
Value & | operator[] (Key key) |
const Value & | operator[] (Key key) const |
auto & | array () |
const auto & | array () const |
Value & | array (size_t i) |
const Value & | array (size_t i) const |
auto | begin () const |
auto | end () const |
Friends | |
void | swap (IndexMap &map1, IndexMap &map2) noexcept |
Definition at line 9 of file indexmap.h.
|
inline |
Definition at line 20 of file indexmap.h.
|
inlinenoexcept |
Definition at line 23 of file indexmap.h.
|
inline |
Definition at line 26 of file indexmap.h.
|
inline |
Definition at line 29 of file indexmap.h.
|
inline |
Definition at line 33 of file indexmap.h.
|
inline |
Definition at line 46 of file indexmap.h.
Referenced by mim::find().
|
inline |
Definition at line 47 of file indexmap.h.
|
inline |
Definition at line 48 of file indexmap.h.
|
inline |
Definition at line 49 of file indexmap.h.
|
inline |
Definition at line 51 of file indexmap.h.
|
inline |
Definition at line 39 of file indexmap.h.
|
inline |
Definition at line 52 of file indexmap.h.
|
inline |
Definition at line 38 of file indexmap.h.
Referenced by mim::find(), and mim::IndexMap< Indexer, Key, Value >::operator[]().
|
inlinenoexcept |
Definition at line 36 of file indexmap.h.
References mim::IndexMap< Indexer, Key, Value >::swap.
|
inline |
Definition at line 40 of file indexmap.h.
References mim::IndexMap< Indexer, Key, Value >::indexer().
|
inline |
Definition at line 45 of file indexmap.h.
|
friend |
Definition at line 54 of file indexmap.h.
Referenced by mim::IndexMap< Indexer, Key, Value >::operator=().