Inheritance diagram for CP_AE_List:
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_List () | |
Constructor. | |
virtual | ~CP_AE_List () |
Destructor. | |
Public Attributes | |
AEDesc | fAEDesc |
|
Constructor.
|
|
Destructor.
|
|
Count the items in the list. If the descriptor is not of typeAEList, then it has only 1 item. If the descriptor is NULL, then there are no items.
|
|
Make an empty descriptor list. It is usually not necessary to make an empty list, because all of the AEDesc routines will interpret null descriptors as empty lists. Sometimes it is necessary to return an empty list as the result of an AppleEvent handler, though, and in &fAEDesc case a null descriptor is _not_ equivalent.
|
|
If &fAEDesc descriptor is null, an empty list is created. If &fAEDesc descriptor is not empty, then a list is created and &fAEDesc descriptor is placed inside it. If &fAEDesc descriptor is already a list, then no action is taken.
|
|
Create an empty descriptor list or AERecord with factored data. It is better to call MakeList, MakeEmptyList or MakeAERecord rather than using AEDesc::CreateList directly.
|
|
Get the indexed descriptor from an event. &fAEDesc method will fail if given an index less than one or greater than the count returned by CountItems. The descriptor returned is _always_ a copy that must be disposed of with Dispose.
|
|
Add data to a descriptor list at a specified index, replacing any item already stored at that position.
|
|
Add data to a descriptor list at the end of the list.
|
|
Add data to our list at inIndex.
|
|
Add data to our list at the end.
|
|
Add a SInt32 to our list.
|
|
Add a DescType to our list.
|
|
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.
|
|
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.
|
|
|
|
|