RefCountHashMap< K, V, HASH, HANDLER >::EntryRef Class Reference
#include <refcount_hashmap.h>
公共成员函数 |
|
| 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 | 重置 () |
| const K * | GetKey () const |
| const V * | GetValue () const |
| operator Bool () const | |
| String | ToString (const FormatStatement *fs=nullptr) const |
Private Attributes |
|
| StrongRef < Entry > | _ref |
| 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 |
|
explicit |
| String ToString | ( | const FormatStatement * |
fs
=
nullptr
|
) | const |
|
private |