Logo Search packages:      
Sourcecode: xulrunner version File versions

nsINode* nsINode::GetNodeParent (  )  const [inline, inherited]

Get the parent nsINode for this node. This can be either an nsIContent, an nsIDocument or an nsIAttribute.

Returns:
the parent node

Definition at line 512 of file nsINode.h.

Referenced by nsGenericElement::doInsertChildAt(), nsGenericElement::doReplaceOrInsertBefore(), nsContentList::MatchSelf(), nsContentList::PopulateWith(), and nsContentList::PopulateWithStartingAfter().

  {
    return reinterpret_cast<nsINode*>(mParentPtrBits & ~kParentBitMask);
  }


Generated by  Doxygen 1.6.0   Back to index