#include <refcount_hashmap.h>
Public Member Functions | |
| MAXON_OPERATOR_EQUALITY_HASHCODE (EntryRef, _ref) | |
| ResultRef< V > | Set (RefCountHashMap &map, const K &key, Bool &created=BoolLValue(), EntryRef *prev=nullptr) |
| ResultRef< V > | Set (RefCountHashMap &map, K &&key, Bool &created=BoolLValue(), EntryRef *prev=nullptr) |
| void | Reset () |
| const K * | GetKey () const |
| const V * | GetValue () const |
| operator Bool () const | |
| String | ToString (const FormatStatement *fs=nullptr) const |
Private Attributes | |
| StrongRef< Entry > | _ref |
| ResultRef<V> Set | ( | RefCountHashMap & | map, |
| const K & | key, | ||
| Bool & | created = BoolLValue(), |
||
| EntryRef * | prev = nullptr |
||
| ) |
| ResultRef<V> Set | ( | RefCountHashMap & | map, |
| K && | key, | ||
| Bool & | created = BoolLValue(), |
||
| EntryRef * | prev = nullptr |
||
| ) |
| void Reset | ( | ) |
| const K* GetKey | ( | ) | const |
| const V* GetValue | ( | ) | const |
|
explicit |
| String ToString | ( | const FormatStatement * | fs = nullptr | ) | const |