Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsGenConNode Struct Reference

#include <nsGenConList.h>

Inheritance diagram for nsGenConNode:
Inheritance graph
Collaboration diagram for nsGenConNode:
Collaboration graph

List of all members.

Public Member Functions

 nsGenConNode (nsIFrame *aPseudoFrame, PRInt32 aContentIndex)
virtual ~nsGenConNode ()

Public Attributes

nsIFrame *const mPseudoFrame
const PRInt32 mContentIndex
nsCOMPtr< nsIDOMCharacterDatamText

Detailed Description

Definition at line 46 of file nsGenConList.h.

Constructor & Destructor Documentation

nsGenConNode::nsGenConNode ( nsIFrame aPseudoFrame,
PRInt32  aContentIndex 
) [inline]

Definition at line 62 of file nsGenConList.h.

    : mPseudoFrame(aPseudoFrame)
    , mContentIndex(aContentIndex)
    NS_ASSERTION(aContentIndex <
                 "index out of range");
    // We allow negative values of mContentIndex for 'counter-reset' and
    // 'counter-increment'.

    NS_ASSERTION(aContentIndex < 0 ||
                 aPseudoFrame->GetStyleContext()->GetPseudoType() ==
                   nsCSSPseudoElements::before ||
                 aPseudoFrame->GetStyleContext()->GetPseudoType() ==
                 "not :before/:after generated content and not counter change");
    NS_ASSERTION(aContentIndex < 0 ||
                 aPseudoFrame->GetStateBits() & NS_FRAME_GENERATED_CONTENT,
                 "not generated content and not counter change");

Here is the call graph for this function:

virtual nsGenConNode::~nsGenConNode ( ) [inline, virtual]

Definition at line 83 of file nsGenConList.h.

{} // XXX Avoid, perhaps?

Member Data Documentation

Definition at line 56 of file nsGenConList.h.

Definition at line 51 of file nsGenConList.h.

Definition at line 60 of file nsGenConList.h.

The documentation for this struct was generated from the following file: