Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIDataspace

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

A very simple container for all kinds of data

Declaration

Source position: MUIClass.Base.pas line 314

type TMUIDataspace = class(TMUISemaphore)

protected

  procedure GetCreateTags(); override;

  

Fill TagList fpr creation of the MUI item

public

  constructor Create; override;

  

Create a DataSpace object

  procedure CreateObject; override;

  

Create the MUI item

  function Add();

  

Adds a new entry to the dataspace.

  procedure Clear;

  

Clear all the contents of a dataspace

  function Find();

  

Find data by it's reference ID'

  function Merge();

  

Add two Dataspace objects contents together

  function ReadIFF();

  

Adds the contents of an IFF handle from iffparse.library to the dataspace.

  function WriteIFF();

  

Writes the contents of a dataspace to an IFF handle of iffparse.library.

  function Remove();

  

Removes an entry from the dataspace.

  property Pool: Pointer; [rw]

  

[i] Specify your own Memory Pool

end;

Inheritance

TMUIDataspace

  

A very simple container for all kinds of data

|

TMUISemaphore

  

Exec Semaphore as MUI Object

|

TMUIWithParent

  

Subclass of TNotify to introduce the Parent relation

|

TMUINotify

  

Notify class is superclass of all other MUI classes.

|

TMUIRootClass

  

Base class for all MUI Class

|

TObject

Description

The Dataspace class serves as a very simple container for all kinds of data. You can add data items and reference them later through an ID. Furthermore, Dataspace class features methods to import/export a complete Dataspace from/to an IFF file handle.

MUI uses subclasses of dataspace class to handle all its configuration data and thats probably the main purpose of a dataspace.

This Class is only added for completeness reasons, you might would prefer to use TList, TObjectList and such classes as usual.


Documentation generated on: 2024-12-21