Dictionary

Associative container which contains values referenced by unique keys. Dictionaries are always passed by reference.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
erase
void erase(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
has
bool has(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
hasAll
bool hasAll(Array keys)
Undocumented in source. Be warned that the author may not have intended to support it.
hash
uint hash()
Undocumented in source. Be warned that the author may not have intended to support it.
keys
Array keys()
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(const(Variant), ref Variant) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opApply
int opApply(int delegate(const(Variant), ref const(Variant)) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
opAssign
Dictionary opAssign(Dictionary other)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
Variant opIndex(K key)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndexAssign
void opIndexAssign(V value, K key)
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
String toJson()
Undocumented in source. Be warned that the author may not have intended to support it.
values
Array values()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

empty_dictionary
deprecated Dictionary empty_dictionary()

FIXME: naming convention fail again

make
Dictionary make(Args args)

Create a Dictionary and add the key-value pairs $(PARAM args) to it.

Variables

_godot_dictionary
godot_dictionary _godot_dictionary;
Undocumented in source.

Meta