Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
ConstAETokenDesc Class Reference

#include <nsAETokens.h>

Inheritance diagram for ConstAETokenDesc:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConstAETokenDesc (const AEDesc *token)
DescType GetDispatchClass () const
DescType GetObjectClass () const
Boolean UsePropertyCode () const
DescType GetPropertyCode () const
long GetDocumentID () const
WindowPtr GetWindowPtr () const
TAEListIndex GetElementNumber () const

Protected Attributes

CoreTokenRecord mTokenRecord
Boolean mTokenWasNull

Detailed Description

Definition at line 80 of file nsAETokens.h.


Constructor & Destructor Documentation

Definition at line 44 of file nsAETokens.cpp.

{
       mTokenWasNull = (token->descriptorType == typeNull);
       
       if (!mTokenWasNull)
       {
              if (::AEGetDescDataSize(token) != sizeof(CoreTokenRecord))
                     ThrowOSErr(paramErr);                     // invalid token

              ThrowIfOSErr(::AEGetDescData(token, &mTokenRecord, sizeof(CoreTokenRecord)));
       }
}

Here is the call graph for this function:


Member Function Documentation

Definition at line 60 of file nsAETokens.cpp.

Here is the caller graph for this function:

Definition at line 95 of file nsAETokens.cpp.

Here is the caller graph for this function:

Definition at line 112 of file nsAETokens.cpp.

Here is the caller graph for this function:

Definition at line 68 of file nsAETokens.cpp.

Definition at line 87 of file nsAETokens.cpp.

Here is the caller graph for this function:

WindowPtr ConstAETokenDesc::GetWindowPtr ( ) const

Definition at line 103 of file nsAETokens.cpp.

Here is the caller graph for this function:

Definition at line 79 of file nsAETokens.cpp.

{
       ThrowErrIfTrue(mTokenWasNull, paramErr);
       return (mTokenRecord.propertyCode != typeNull);
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 97 of file nsAETokens.h.

Definition at line 98 of file nsAETokens.h.


The documentation for this class was generated from the following files: