ODDesc
- Superclasses
ODObject- Subclasses
ODOSLToken,ODObjectSpec,ODAddressDesc, andODDescListAn object of the
ODDescclass is a wrapper for a descriptor structure (typeAEDesc), the basic structure used for building Apple event attributes and parameters.Description
An Apple event descriptor structure consists of a handle to data and a descriptor type that identifies the type of data to which the handle refers. An object of theODDescclass stores the actual data. To use the Apple Event Manager functions on anODDescobject, you must first extract the data from it and then create a descriptor structure from that data.The
ODDescclass provides methods for placing and extracting the Apple event descriptor it contains. To convert from anODDescdescriptor object to typeAEDesc, you may copy the raw data and the descriptor type using the utility routines ODDescToAEDesc and AEDescToODDesc.For more information on Apple events and the
AEDesctype, see the "Introduction to Apple Events" chapter of Inside Macintosh: Interapplication Communication. For general information on scripting support in OpenDoc, see the chapter on semantic events and scripting in theOpenDoc Programmer's Guide for the MacOS . Methods
This section presents summary descriptions of theODDescmethods grouped according to purpose, followed by detailed descriptions in alphabetical order.Initializing
Accessing Descriptor Data
InitODDesc- Initializes this descriptor object.
GetDescType- Returns the descriptor type of this descriptor object.
SetDescType- Sets the descriptor type of this descriptor object.
GetRawData- Returns the raw data contained in this descriptor object.
SetRawData- Assigns the specified raw data to this descriptor object; any previous data is deleted.
Methods