#include <mcllib/MCDictionary.h>
Inheritance diagram for MCDictionary:
Public Member Functions | |
bool | containsKey (const MCVariantType &key) const |
Check to see if an item exists in the dictionary. | |
MCVariantType | get (const MCVariantType &key) const |
Get the value for a key. | |
MCDictionary () | |
Construct an empty dictionary. | |
void | put (const MCVariantType &key, const MCVariantType &value) |
Add an item to the dictionary. | |
void | remove (const MCVariantType &key) |
Remove an item from the dictionary. | |
Protected Member Functions | |
MCDictionary (void *impl) |
|
Check to see if an item exists in the dictionary.
|
|
Get the value for a key.
|
|
Add an item to the dictionary. If key is already present in the dictionary, the existing value will be overwritten.
|
|
Remove an item from the dictionary. If key is not present in the dictionary no action is taken.
|