Associative array template
usage:
More...
Private Member Functions | |
| proto native int | Count () |
| proto native void | Clear () |
| proto TValue | Get (TKey key) |
| proto bool | Find (TKey key, out TValue val) |
| proto TValue | GetElement (int index) |
| proto TKey | GetKey (int i) |
| proto void | Set (TKey key, TValue value) |
| proto void | Remove (TKey key) |
| proto void | RemoveElement (int i) |
| proto bool | Contains (TKey key) |
| proto bool | Insert (TKey key, TValue value) |
| proto int | Copy (map< TKey, TValue > from) |
| array< TKey > | GetKeyArray () |
| array< TValue > | GetValueArray () |
| bool | ReplaceKey (TKey old_key, TKey new_key) |
| TKey | GetKeyByValue (TValue value) |
| bool | GetKeyByValueChecked (TValue value, out TKey key) |
| proto native MapIterator | Begin () |
| proto native MapIterator | End () |
| proto native MapIterator | Next (MapIterator it) |
| proto TKey | GetIteratorKey (MapIterator it) |
| proto TValue | GetIteratorElement (MapIterator it) |
Associative array template
usage: