Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
OffsetEntry Class Reference
Collaboration diagram for OffsetEntry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 OffsetEntry (nsIDOMNode *aNode, PRInt32 aOffset, PRInt32 aLength)
virtual ~OffsetEntry ()

Public Attributes

nsIDOMNodemNode
PRInt32 mNodeOffset
PRInt32 mStrOffset
PRInt32 mLength
PRBool mIsInsertedText
PRBool mIsValid

Detailed Description

Definition at line 68 of file nsTextServicesDocument.cpp.


Constructor & Destructor Documentation

OffsetEntry::OffsetEntry ( nsIDOMNode aNode,
PRInt32  aOffset,
PRInt32  aLength 
) [inline]

Definition at line 71 of file nsTextServicesDocument.cpp.

    : mNode(aNode), mNodeOffset(0), mStrOffset(aOffset), mLength(aLength),
      mIsInsertedText(PR_FALSE), mIsValid(PR_TRUE)
  {
    if (mStrOffset < 1)
      mStrOffset = 0;

    if (mLength < 1)
      mLength = 0;
  }
virtual OffsetEntry::~OffsetEntry ( ) [inline, virtual]

Definition at line 82 of file nsTextServicesDocument.cpp.

  {
    mNode       = 0;
    mNodeOffset = 0;
    mStrOffset  = 0;
    mLength     = 0;
    mIsValid    = PR_FALSE;
  }

Member Data Documentation

Definition at line 95 of file nsTextServicesDocument.cpp.

Definition at line 96 of file nsTextServicesDocument.cpp.

Definition at line 94 of file nsTextServicesDocument.cpp.

Definition at line 91 of file nsTextServicesDocument.cpp.

Definition at line 92 of file nsTextServicesDocument.cpp.

Definition at line 93 of file nsTextServicesDocument.cpp.


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