|
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 10 of file indexmap.h.
|
inline |
Definition at line 23 of file indexmap.h.
References IndexMap().
Referenced by IndexMap(), IndexMap(), operator=(), operator[](), and swap.
|
inlinenoexcept |
Definition at line 26 of file indexmap.h.
References IndexMap().
|
inline |
Definition at line 29 of file indexmap.h.
References indexer().
|
inline |
Definition at line 32 of file indexmap.h.
|
inline |
Definition at line 36 of file indexmap.h.
|
inline |
Definition at line 49 of file indexmap.h.
Referenced by IndexMap().
|
inline |
Definition at line 50 of file indexmap.h.
|
inline |
Definition at line 51 of file indexmap.h.
|
inline |
Definition at line 52 of file indexmap.h.
|
inline |
Definition at line 54 of file indexmap.h.
Referenced by IndexMap().
|
inline |
Definition at line 42 of file indexmap.h.
|
inline |
Definition at line 55 of file indexmap.h.
Referenced by IndexMap().
|
inline |
Definition at line 41 of file indexmap.h.
Referenced by IndexMap(), IndexMap(), IndexMap(), and operator[]().
|
inlinenoexcept |
Definition at line 39 of file indexmap.h.
References IndexMap(), and swap.
|
inline |
Definition at line 43 of file indexmap.h.
References indexer().
|
inline |
Definition at line 48 of file indexmap.h.
References IndexMap().
|
friend |
Definition at line 57 of file indexmap.h.
References IndexMap(), and swap.
Referenced by operator=(), and swap.