+ (MUIDatamap *) datamap
Default constructor
- (IPTR) clear
Removes all entries in the Datamap object.
- (ULONG) count
- (IPTR) find:(OBString *)key
Finds a data entry using the passed in key.
- (APTR) get:(OBString *)key size:(ULONG *)size
- (IPTR) iterate:(IPTR *)counter
Iterates though all stored keys. It is legal to continue an iteration after removing the current item, but MUIM_Datamap_Clear would make the iterator invalid.
- (IPTR) iterationKey:(IPTR *)counter
Returns the key associated with current iteration stage.
- (IPTR) remove:(OBString *)key
Removes and entry corresponding with the passed in key.
- (IPTR) set:(APTR)data len:(LONG)len key:(OBString *)key
This method adds or changes an entry corresponding to the given key. There can only be one unique key in a tree, so calling MUIM_Datamap_Set multiple times with the same key will overwrite the old data.
- (void) setAutoLock:(BOOL)autolock
CAUTION: this is an initializer attribute, meaning it cannot be changed after the underlying MUI object is instantiated
- (void) setCopyKeys:(BOOL)copykeys
CAUTION: this is an initializer attribute, meaning it cannot be changed after the underlying MUI object is instantiated
- (void) setPool:(APTR)pool
CAUTION: this is an initializer attribute, meaning it cannot be changed after the underlying MUI object is instantiated