Squeak Class Documentation category index | class index  
 
AEDesc
  category: VMConstruction-Applescript
  superclass: MacExternalData
  subclasses:

I represent an Apple Event Descriptor. I am a low-level representation of Apple Event (and hence Applescript) information. For further Information, see Apple's Inside Macintosh: Interapplication Communications, at

http://developer.apple.com/techpubs/mac/IAC/IAC-2.html.

Essentially, I represent a record comprising a one-word "string" (treating the word as fourbyte characters) representing a data type, followed by a pointer to a pointer (a handle) to the data I represent. Care must be taken to assure that the Handle data is disposed after use, or memory leaks result. At this time, I make no effort to do this automatically through finalization.

instance methods
  accessing
  dataSize
dispose

  converting
  asCompiledApplescript
asCompiledApplescriptThenDispose
asOSAIDThenDisposeAEDescWith:
asShort
asShortThenDispose
asString
asStringThenDispose
to:

  private
  createFromScpt:
createFromText:
createNull
primAECoerceDesc:to:
primAECreateDesc:from:
primAEDescToString:
primAEDisposeDesc
primAEGetKeyPtr:type:actual:to:

class methods
  as yet unclassified
  new
nullType
scptTypeOn:
textTypeOn:

  private
  primSizeAEDesc

instance methods
  accessing top  
 

dataSize


 

dispose


  converting top  
 

asCompiledApplescript


 

asCompiledApplescriptThenDispose


 

asOSAIDThenDisposeAEDescWith:


 

asShort


 

asShortThenDispose


 

asString

Answer a string that represents the receiver.


 

asStringThenDispose


 

to:


  private top  
 

createFromScpt:


 

createFromText:


 

createNull


 

primAECoerceDesc:to:


 

primAECreateDesc:from:


 

primAEDescToString:


 

primAEDisposeDesc


 

primAEGetKeyPtr:type:actual:to:


class methods
  as yet unclassified top  
 

new

Answer a new instance of me, with size = 0.


 

nullType


 

scptTypeOn:


 

textTypeOn:


  private top  
 

primSizeAEDesc