Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes | Friends
nsScannerBufferList::Buffer Class Reference

Buffer objects are directly followed by a data segment. More...

#include <nsScannerString.h>

List of all members.

Public Member Functions

void IncrementUsageCount ()
void DecrementUsageCount ()
PRBool IsInUse () const
const PRUnicharDataStart () const
PRUnicharDataStart ()
const PRUnicharDataEnd () const
PRUnicharDataEnd ()
const BufferNext () const
BufferNext ()
const BufferPrev () const
BufferPrev ()
PRUint32 DataLength () const
void SetDataLength (PRUint32 len)

Private Attributes

PRInt32 mUsageCount
PRUnicharmDataEnd

Friends

class nsScannerBufferList

Detailed Description

Buffer objects are directly followed by a data segment.

The start of the data segment is determined by increment the |this| pointer by 1 unit.

Definition at line 95 of file nsScannerString.h.


Member Function Documentation

Definition at line 107 of file nsScannerString.h.

{ return mDataEnd; }

Here is the caller graph for this function:

Definition at line 108 of file nsScannerString.h.

{ return mDataEnd; }

Definition at line 116 of file nsScannerString.h.

{ return mDataEnd - DataStart(); }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 104 of file nsScannerString.h.

{ return (const PRUnichar*) (this+1); }

Here is the caller graph for this function:

Definition at line 105 of file nsScannerString.h.

{ return (      PRUnichar*) (this+1); }

Definition at line 100 of file nsScannerString.h.

{ --mUsageCount; }

Here is the caller graph for this function:

Definition at line 99 of file nsScannerString.h.

{ ++mUsageCount; }

Here is the caller graph for this function:

Definition at line 102 of file nsScannerString.h.

{ return mUsageCount != 0; }

Definition at line 110 of file nsScannerString.h.

{ return NS_STATIC_CAST(const Buffer*, next); }

Here is the caller graph for this function:

Definition at line 111 of file nsScannerString.h.

{ return NS_STATIC_CAST(      Buffer*, next); }

Definition at line 113 of file nsScannerString.h.

{ return NS_STATIC_CAST(const Buffer*, prev); }

Definition at line 114 of file nsScannerString.h.

{ return NS_STATIC_CAST(      Buffer*, prev); }

Definition at line 117 of file nsScannerString.h.

{ mDataEnd = DataStart() + len; }

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class nsScannerBufferList [friend]

Definition at line 121 of file nsScannerString.h.


Member Data Documentation

Definition at line 124 of file nsScannerString.h.

Definition at line 123 of file nsScannerString.h.


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