Back to index

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

#include <nsEditorUtils.h>

Collaboration diagram for DOMPoint:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DOMPoint ()
 DOMPoint (nsIDOMNode *aNode, PRInt32 aOffset)
void SetPoint (nsIDOMNode *aNode, PRInt32 aOffset)
void GetPoint (nsCOMPtr< nsIDOMNode > &aNode, PRInt32 &aOffset)

Public Attributes

nsCOMPtr< nsIDOMNodenode
PRInt32 offset

Detailed Description

Definition at line 242 of file nsEditorUtils.h.


Constructor & Destructor Documentation

DOMPoint::DOMPoint ( ) [inline]

Definition at line 247 of file nsEditorUtils.h.

: node(0),offset(0) {}
DOMPoint::DOMPoint ( nsIDOMNode aNode,
PRInt32  aOffset 
) [inline]

Definition at line 248 of file nsEditorUtils.h.

                                               : 
                 node(aNode),offset(aOffset) {}

Member Function Documentation

void DOMPoint::GetPoint ( nsCOMPtr< nsIDOMNode > &  aNode,
PRInt32 aOffset 
) [inline]

Definition at line 254 of file nsEditorUtils.h.

  {
    aNode = node; aOffset = offset;
  }

Here is the caller graph for this function:

void DOMPoint::SetPoint ( nsIDOMNode aNode,
PRInt32  aOffset 
) [inline]

Definition at line 250 of file nsEditorUtils.h.

  {
    node = aNode; offset = aOffset;
  }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 244 of file nsEditorUtils.h.

Definition at line 245 of file nsEditorUtils.h.


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