Inheritance diagram for CP_AE_Descriptor:

Copiers | |
| CP_AE_Descriptor | operator= (const CP_AE_Descriptor &inDescriptor) | 
| void | CopyDesc (const CP_AE_Descriptor &desc) | 
Public Member Functions | |
| operator AEDesc * () | |
| operator const AEDesc * () const | |
| operator AEDesc & () | |
| operator const AEDesc & () const | |
| void | swap (CP_AE_Descriptor &inOutDescriptor) throw () | 
Constructor / Destructor  | |
| CP_AE_Descriptor () | |
| Constructor.   | |
| CP_AE_Descriptor (const AEDesc &inDesc, AEKeyword inKeyword, DescType inDesiredType=typeWildCard) | |
| CP_AE_Descriptor (const CP_AE_Descriptor &inDescriptor) | |
| virtual | ~CP_AE_Descriptor () | 
| Destructor.   | |
Public Attributes | |
| AEDesc | fAEDesc | 
      
  | 
  
| 
 Constructor. 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Constructor. 
 
 
  | 
  
      
  | 
  
| 
 Copy constructor. 
 
 
  | 
  
      
  | 
  
| 
 Destructor. 
 
  | 
  
      
  | 
  
| 
 Dispose of the memory allocated for &fAEDesc object. 
 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Create a new descriptor ffrom the passed in data and data type code. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc descriptor into a NULL descriptor. 
 
 
  | 
  
      
  | 
  
| 
 Try to coerce the type of the descriptor to something else. &fAEDesc method will NOT fail if the coercion could not be done. NOTE: &fAEDesc method does not throw an exception, but returns the error code, as it is ok for &fAEDesc routine to fail. 
 
 
 
  | 
  
      
  | 
  
| 
 Require that &fAEDesc object be coerced to the specified data type. &fAEDesc method will fail if the coercion does not work. 
 
 
 
  | 
  
      
  | 
  
| 
 Require that &fAEDesc object be coerced to the specified data type. &fAEDesc method will fail if the coercion does not work. 
 
 
 
  | 
  
      
  | 
  
| 
 &fAEDesc method attempts to coerce its data into some form of standard type (e.g. typeChar or typeLongInteger). The following conversions are tried: From: typeAEText, typeIntlText or typeStyledText to typeChar, and typeLongInteger to typeLongInteger. 
 
 
  | 
  
      
  | 
  
| 
 Assignment operator. Copies the information provided in the inDescriptor object. 
 
 
 
  | 
  
      
  | 
  
| 
 Duplicate the information from the passed in descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Return a DescType that describes the type of descriptor this is. 
 
 
  | 
  
      
  | 
  
| 
 Return a Handle to our data. &fAEDesc handle is a copy of the data and must be deleted by the caller. 
 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Get the descriptor from an event. If the desired type is not specified, it is assumed to be typeWildCard. 
 
 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Get the descriptor from an event. If the desired type is not specified, it is assumed to be typeWildCard. NOTE: &fAEDesc method is used for retrieving optional descriptors, so we will just return the err code and let the called do with the result as it sees fit. 
 
 
 
  | 
  
      
  | 
  ||||||||||||||||||||||||||||||||
| 
 Retrurns a pointer to the nth item in &fAEDesc descriptor. 
 
 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Get a block of data of the inDesiredType. 
 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a SInt16. 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a SInt32. 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a bool. 
 
 
  | 
  
      
  | 
  
| 
 Return the type of information contained in &fAEDesc object as a DescType. 
 
 
  | 
  
      
  | 
  
| 
 Return the type of information contained in &fAEDesc object as a AEKeyword. 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a DescType enumeration. 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a DescType typeAbsoluteOrdinal. 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a CP_Point object. 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a CP_Rect object. 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a Str255 object. 
 
 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a CP_String object. 
 
  | 
  
      
  | 
  
| 
 Return the data from &fAEDesc descriptor as a CP_FileSystemSpec. 
 
 
  | 
  
      
  | 
  
| 
 Return the number of items in &fAEDesc descriptor. 
 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Return the nth item from &fAEDesc descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Make a new descriptor from the passed in data and data type code. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a Boolean descriptor from the passed in Boolean data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a Boolean descriptor from the passed in bool data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a SInt16 descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a SInt32 descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a UInt32 descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a point descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a rect descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a p-style string descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a string descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a file spec descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc into a file spec descriptor from the passed in data. 
 
 
 
  | 
  
      
  | 
  
| 
 Takes the provided alias handle and uses it to set the data for &fAEDesc descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Make a descriptor for the passed in CP_FileSystemSpec inData as a MacOS Alias. 
 
 
 
  | 
  
      
  | 
  
| 
 Make a descriptor for the passed in MacOS ProcessSerialNumber. 
 
 
 
  | 
  
      
  | 
  ||||||||||||||||||||||||
| 
 Make an object specifier from the passed in data. 
 
 
 
  | 
  
      
  | 
  ||||||||||||||||||||
| 
 Make an comp descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Make an enumeration for &fAEDesc descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Make a DescType descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Make an an AEKeyword for &fAEDesc descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Make an an ordinal for &fAEDesc descriptor. 
 
 
 
  | 
  
      
  | 
  
| 
 Make &fAEDesc object either a type or an integer based upon inData. &fAEDesc is useful for debugging; it makes a 'type' if the data appears to consist of printable characters (e.g. 'ABCD'), but otherwise it makes an integer (e.g. -12). 
 
 
 
  | 
  
      
  | 
  ||||||||||||
| 
 Assign the inDataType and inHandle to &fAEDesc object. 
 
 
 
  | 
  
      
  | 
  
| 
 Adopt the passed in CP_AE_Descriptor object. 
 
 
 
  | 
  
      
  | 
  
| 
 Return true if this is a NULL descriptor, ie doesn't describe anything. 
 
 
  | 
  
      
  | 
  
| 
 Return true if the data handle is NULL. 
 
 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 
  | 
  
 1.4.0