Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Static Public Member Functions
nsCharSourceTraits< nsScannerIterator > Struct Reference

this class is needed in order to make use of the methods in nsAlgorithm.h More...

#include <nsScannerString.h>

List of all members.

Public Types

typedef
nsScannerIterator::difference_type 
difference_type

Static Public Member Functions

static PRUint32 readable_distance (const nsScannerIterator &first, const nsScannerIterator &last)
static const
nsScannerIterator::value_type
read (const nsScannerIterator &iter)
static void advance (nsScannerIterator &s, difference_type n)

Detailed Description

this class is needed in order to make use of the methods in nsAlgorithm.h

Definition at line 486 of file nsScannerString.h.


Member Typedef Documentation

Definition at line 488 of file nsScannerString.h.


Member Function Documentation

static void nsCharSourceTraits< nsScannerIterator >::advance ( nsScannerIterator s,
difference_type  n 
) [inline, static]

Definition at line 506 of file nsScannerString.h.

      {
        s.advance(n);
      }

Here is the call graph for this function:

Definition at line 499 of file nsScannerString.h.

      {
        return iter.get();
      }

Here is the call graph for this function:

Definition at line 492 of file nsScannerString.h.

      {
        return PRUint32(SameFragment(first, last) ? last.get() - first.get() : first.size_forward());
      }

Here is the call graph for this function:


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