Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
COtherElements.h File Reference
#include "nsDTDUtils.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CGroupBits
union  CGroupMembers
class  CElement
struct  CElement::CFlags
class  CLeafElement
class  CDeprecatedElement
class  CInlineElement
class  CBlockElement
class  CFlowElement
class  CPhraseElement
class  CFormControlElement
class  CFormElement
class  CFontStyleElement
class  CSpecialElement
class  CTableElement
class  CTableRowElement
class  CListElement
class  CLIElement
class  CHeadingElement
class  CFrameElement
class  CDTDInternalElement
class  CHeadElement
class  CTextContainer
class  CTitleElement
class  CTextAreaElement
class  CStyleElement
class  CScriptElement
class  CPreformattedElement
class  CAppletElement
class  CFieldsetElement
class  CTopLevelElement
class  CHTMLElement
class  CBodyElement
class  CElementTable
union  CElement.__unnamed__

Functions

PRBool ContainsGroup (CGroupMembers &aGroupSet, CGroupMembers &aGroup)
PRBool ListContainsTag (const eHTMLTags *aTagList, eHTMLTags aTag)

Variables

static const eHTMLTags gBodyKids [] = {eHTMLTag_button, eHTMLTag_del, eHTMLTag_ins, eHTMLTag_map,eHTMLTag_script, eHTMLTag_unknown}
static const eHTMLTags gBodyExcludeKids [] = {eHTMLTag_applet, eHTMLTag_button, eHTMLTag_iframe, eHTMLTag_object, eHTMLTag_unknown}
static CElementTablegElementTable = 0
static const eHTMLTags kDLKids [] = {eHTMLTag_dd,eHTMLTag_dt,eHTMLTag_unknown}
static const eHTMLTags kAutoCloseDD [] = {eHTMLTag_dd,eHTMLTag_dt,eHTMLTag_dl,eHTMLTag_unknown}
static const eHTMLTags kButtonExcludeKids []
static const eHTMLTags kColgroupKids [] = {eHTMLTag_col,eHTMLTag_unknown}
static const eHTMLTags kDirKids [] = {eHTMLTag_li,eHTMLTag_unknown}
static const eHTMLTags kOptionGroupKids [] = {eHTMLTag_option,eHTMLTag_unknown}
static const eHTMLTags kFieldsetKids [] = {eHTMLTag_legend,eHTMLTag_unknown}
static const eHTMLTags kFormKids [] = {eHTMLTag_script,eHTMLTag_unknown}
static const eHTMLTags kLIExcludeKids [] = {eHTMLTag_dir,eHTMLTag_menu,eHTMLTag_unknown}
static const eHTMLTags kMapKids [] = {eHTMLTag_area,eHTMLTag_unknown}
static const eHTMLTags kPreExcludeKids []
static const eHTMLTags kSelectKids [] = {eHTMLTag_optgroup,eHTMLTag_option,eHTMLTag_unknown}
static const eHTMLTags kBlockQuoteKids [] = {eHTMLTag_script,eHTMLTag_unknown}
static const eHTMLTags kFramesetKids [] = {eHTMLTag_noframes,eHTMLTag_unknown}
static const eHTMLTags kObjectKids [] = {eHTMLTag_param,eHTMLTag_unknown}
static const eHTMLTags kTBodyKids [] = {eHTMLTag_tr,eHTMLTag_unknown}
static const eHTMLTags kUnknownKids [] = {eHTMLTag_html,eHTMLTag_unknown}

Class Documentation

struct CGroupBits

Definition at line 59 of file COtherElements.h.

Class Members
PRUint32 mBlock: 1
PRUint32 mBlockEntity: 1
PRUint32 mComment: 1
PRUint32 mDTDInternal: 1
PRUint32 mFlowEntity: 1
PRUint32 mFontStyle: 1
PRUint32 mFormControl: 1
PRUint32 mFrame:1
PRUint32 mHead: 1
PRUint32 mHeadContent: 1
PRUint32 mHeading: 1
PRUint32 mHeadMisc: 1
PRUint32 mInlineEntity: 1
PRUint32 mLeaf: 1
PRUint32 mList: 1
PRUint32 mPhrase: 1
PRUint32 mPreformatted: 1
PRUint32 mSelf: 1
PRUint32 mSpecial: 1
PRUint32 mTable: 1
PRUint32 mTextContainer: 1
PRUint32 mTopLevel: 1
PRUint32 mWhiteSpace: 1
union CGroupMembers

Definition at line 85 of file COtherElements.h.

Collaboration diagram for CGroupMembers:
Class Members
PRUint32 mAllBits
CGroupBits mBits
struct CElement::CFlags

Definition at line 120 of file COtherElements.h.

Class Members
PRUint32 mDeprecated:1
PRUint32 mIsContainer:1
PRUint32 mIsSinkContainer:1
PRUint32 mOmitEndTag:1
PRUint32 mOmitWS:1
union CElement.__unnamed__

Definition at line 128 of file COtherElements.h.

Class Members
PRUint32 mAllBits
CFlags mProperties

Function Documentation

PRBool ContainsGroup ( CGroupMembers aGroupSet,
CGroupMembers aGroup 
) [inline]

Definition at line 91 of file COtherElements.h.

                                                                            {
  PRBool result=PR_FALSE;
  if(aGroup.mAllBits) {
    result=(aGroupSet.mAllBits & aGroup.mAllBits) ? PR_TRUE : PR_FALSE;
  }
  return result;
}

Here is the caller graph for this function:

PRBool ListContainsTag ( const eHTMLTags aTagList,
eHTMLTags  aTag 
) [inline]

Definition at line 99 of file COtherElements.h.

                                                                        {
  if(aTagList) {
    const eHTMLTags *theNextTag=aTagList;
    while(eHTMLTag_unknown!=*theNextTag) {
      if(aTag==*theNextTag) {
        return PR_TRUE;
      }
      ++theNextTag;
    }
  }
  return PR_FALSE;
}

Here is the caller graph for this function:


Variable Documentation

const eHTMLTags gBodyExcludeKids[] = {eHTMLTag_applet, eHTMLTag_button, eHTMLTag_iframe, eHTMLTag_object, eHTMLTag_unknown} [static]

Definition at line 1875 of file COtherElements.h.

const eHTMLTags gBodyKids[] = {eHTMLTag_button, eHTMLTag_del, eHTMLTag_ins, eHTMLTag_map,eHTMLTag_script, eHTMLTag_unknown} [static]

Definition at line 1874 of file COtherElements.h.

Definition at line 2078 of file COtherElements.h.

const eHTMLTags kAutoCloseDD[] = {eHTMLTag_dd,eHTMLTag_dt,eHTMLTag_dl,eHTMLTag_unknown} [static]

Definition at line 2081 of file COtherElements.h.

const eHTMLTags kBlockQuoteKids[] = {eHTMLTag_script,eHTMLTag_unknown} [static]

Definition at line 2096 of file COtherElements.h.

Initial value:
{ eHTMLTag_a,eHTMLTag_button,eHTMLTag_select,eHTMLTag_textarea,
                                        eHTMLTag_input,eHTMLTag_iframe,eHTMLTag_form,eHTMLTag_isindex,
                                        eHTMLTag_fieldset,eHTMLTag_unknown}

Definition at line 2082 of file COtherElements.h.

const eHTMLTags kColgroupKids[] = {eHTMLTag_col,eHTMLTag_unknown} [static]

Definition at line 2085 of file COtherElements.h.

const eHTMLTags kDirKids[] = {eHTMLTag_li,eHTMLTag_unknown} [static]

Definition at line 2086 of file COtherElements.h.

const eHTMLTags kDLKids[] = {eHTMLTag_dd,eHTMLTag_dt,eHTMLTag_unknown} [static]

Definition at line 2080 of file COtherElements.h.

const eHTMLTags kFieldsetKids[] = {eHTMLTag_legend,eHTMLTag_unknown} [static]

Definition at line 2088 of file COtherElements.h.

const eHTMLTags kFormKids[] = {eHTMLTag_script,eHTMLTag_unknown} [static]

Definition at line 2089 of file COtherElements.h.

const eHTMLTags kFramesetKids[] = {eHTMLTag_noframes,eHTMLTag_unknown} [static]

Definition at line 2097 of file COtherElements.h.

const eHTMLTags kLIExcludeKids[] = {eHTMLTag_dir,eHTMLTag_menu,eHTMLTag_unknown} [static]

Definition at line 2090 of file COtherElements.h.

const eHTMLTags kMapKids[] = {eHTMLTag_area,eHTMLTag_unknown} [static]

Definition at line 2091 of file COtherElements.h.

const eHTMLTags kObjectKids[] = {eHTMLTag_param,eHTMLTag_unknown} [static]

Definition at line 2098 of file COtherElements.h.

const eHTMLTags kOptionGroupKids[] = {eHTMLTag_option,eHTMLTag_unknown} [static]

Definition at line 2087 of file COtherElements.h.

Initial value:
{eHTMLTag_image,eHTMLTag_object,eHTMLTag_applet,
                                    eHTMLTag_big,eHTMLTag_small,eHTMLTag_sub,eHTMLTag_sup,
                                    eHTMLTag_font,eHTMLTag_basefont,eHTMLTag_unknown}

Definition at line 2092 of file COtherElements.h.

const eHTMLTags kSelectKids[] = {eHTMLTag_optgroup,eHTMLTag_option,eHTMLTag_unknown} [static]

Definition at line 2095 of file COtherElements.h.

const eHTMLTags kTBodyKids[] = {eHTMLTag_tr,eHTMLTag_unknown} [static]

Definition at line 2099 of file COtherElements.h.

const eHTMLTags kUnknownKids[] = {eHTMLTag_html,eHTMLTag_unknown} [static]

Definition at line 2100 of file COtherElements.h.