CoreClasses Xojo Plugin

ObjectDictionary Class (console safe)

ObjectDictionary is a high speed dictionary class, that uses hash tables to maximise performance.

Object
   ObjectDictionary

class ObjectDictionary

Constructors

ObjectDictionaryThe default constructor for the ObjectDictionary.
ObjectDictionaryA Constructor to construct a ObjectDictionary with non distinct keys.

Properties

LastError (console safe) Use this property to get the Last error code generated by the dictionary.

Methods

Add (console safe) Use this method to add a object to the dictionary using object as a key.
Add (console safe) Use this method to add a object to the dictionary using string as a key.
Clear (console safe) Use this method to clear all items from the dictionary.
ClearError (console safe) Use this method to clear the last error.
Count (console safe) Use this function to get the number of items in the dictionary.
Exists (console safe) Use this function to check for existence of a object key in the dictionary.
Exists (console safe) Use this function to check for existence of a string key in the dictionary.
GetKeySet (console safe) Use this method to get a set of elements with the same object key when the dictionary is in multikey mode.
GetKeySet (console safe) Use this method to get a set of elements with the same string key when the dictionary is in multikey mode.
Item (console safe) Use this setter/getter function to get or set element by a object key.
Item (console safe) Use this setter/getter function to get or set element by a string key.
Operator_Subscript (console safe) Implements operator to write to the dictionary with the ( ) indexer operator. This variation sets a item by a string key.
Operator_Subscript (console safe) Implements operator to read from the dictionary with the ( ) indexer operator. This variation fetches a item by a object key.
Operator_Subscript (console safe) Implements operator to write to the dictionary with the ( ) indexer operator. This variation sets a item by a object key.
Operator_Subscript (console safe) Implements operator to read from the dictionary with the ( ) indexer operator. This variation fetches a item by a string key.
Remove (console safe) Use this method to add remove object from the dictionary by a given string key.
Remove (console safe) Use this method to add remove object from the dictionary by a given object key.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM