Skip to content
reduz edited this page Feb 23, 2014 · 9 revisions

Dictionary

Brief Description

Dictionary type.

Member Functions

Description

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

Member Function Description

  • void ** clear ** ( ) \ Clear the dictionary, removing all key/value pairs.
  • bool ** empty ** ( ) \ Return true if the dictionary is empty.
  • void ** erase ** ( var value ) \ Erase a dictionary key/value pair by key.
  • bool ** has ** ( var value ) \ Return true if the dictionary has a given key.
  • int ** hash ** ( ) \ Return a hashed integer value representing the dictionary contents.
  • Array ** keys ** ( ) \ Return the list of keys in the dictionary.
  • int ** size ** ( ) \ Return the size of the dictionary (in pairs).
Clone this wiki locally