Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsDOMClassInfo.h File Reference
#include "nsIDOMClassInfo.h"
#include "nsIXPCScriptable.h"
#include "jsapi.h"
#include "nsIScriptSecurityManager.h"
#include "nsIScriptContext.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsDOMClassInfoData
struct  nsExternalDOMClassInfoData
class  nsDOMClassInfo
class  nsDOMGCParticipantSH
class  nsEventReceiverSH
class  nsWindowSH
class  nsLocationSH
class  nsNavigatorSH
class  nsNodeSH
class  nsElementSH
class  nsGenericArraySH
class  nsArraySH
class  nsNamedArraySH
class  nsNamedNodeMapSH
class  nsHTMLCollectionSH
class  nsContentListSH
class  nsFormControlListSH
class  nsDocumentSH
class  nsHTMLDocumentSH
class  nsHTMLElementSH
class  nsHTMLFormElementSH
class  nsHTMLFrameElementSH
class  nsHTMLSelectElementSH
class  nsHTMLExternalObjSH
class  nsHTMLAppletElementSH
class  nsHTMLPluginObjElementSH
class  nsHTMLOptionsCollectionSH
class  nsPluginSH
class  nsPluginArraySH
class  nsMimeTypeArraySH
class  nsStringArraySH
class  nsHistorySH
class  nsStringListSH
class  nsMediaListSH
class  nsStyleSheetListSH
class  nsCSSValueListSH
class  nsCSSStyleDeclSH
class  nsCSSRuleListSH
class  nsStorageSH
class  nsStorageListSH
class  nsEventListenerThisTranslator
class  nsDOMConstructorSH
class  nsNonDOMObjectSH
union  nsDOMClassInfoData.u

Defines

#define GET_CLEAN_CI_PTR(_ptr)   (nsIClassInfo*)(PtrBits(_ptr) & ~0x1)
#define MARK_EXTERNAL(_ptr)   (nsIClassInfo*)(PtrBits(_ptr) | 0x1)
#define IS_EXTERNAL(_ptr)   (PtrBits(_ptr) & 0x1)
#define NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(_class)
 nsIClassInfo helper macros

Typedefs

typedef nsIClassInfo *(* nsDOMClassInfoConstructorFnc )(nsDOMClassInfoData *aData)
typedef unsigned long PtrBits
typedef nsDOMClassInfo nsDOMGenericSH

Functions

void InvalidateContextAndWrapperCache ()

Class Documentation

union nsDOMClassInfoData.u

Definition at line 69 of file nsDOMClassInfo.h.

Class Members
nsDOMClassInfoConstructorFnc mConstructorFptr
nsDOMClassInfoExternalConstructorFnc mExternalConstructorFptr

Define Documentation

#define GET_CLEAN_CI_PTR (   _ptr)    (nsIClassInfo*)(PtrBits(_ptr) & ~0x1)

Definition at line 96 of file nsDOMClassInfo.h.

#define IS_EXTERNAL (   _ptr)    (PtrBits(_ptr) & 0x1)

Definition at line 98 of file nsDOMClassInfo.h.

#define MARK_EXTERNAL (   _ptr)    (nsIClassInfo*)(PtrBits(_ptr) | 0x1)

Definition at line 97 of file nsDOMClassInfo.h.

Value:
if (aIID.Equals(NS_GET_IID(nsIClassInfo))) {                                \
    foundInterface =                                                          \
      nsDOMClassInfo::GetClassInfoInstance(eDOMClassInfo_##_class##_id);      \
    if (!foundInterface) {                                                    \
      *aInstancePtr = nsnull;                                                 \
      return NS_ERROR_OUT_OF_MEMORY;                                          \
    }                                                                         \
  } else

nsIClassInfo helper macros

Definition at line 1648 of file nsDOMClassInfo.h.


Typedef Documentation

Definition at line 63 of file nsDOMClassInfo.h.

Definition at line 405 of file nsDOMClassInfo.h.

typedef unsigned long PtrBits

Definition at line 91 of file nsDOMClassInfo.h.


Function Documentation