Back to index

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

#include <nsCharTraits.h>

List of all members.

Public Types

typedef ptrdiff_t difference_type

Static Public Member Functions

static PRUint32 readable_distance (const PRUnichar *s)
static PRUint32 readable_distance (const PRUnichar *first, const PRUnichar *last)
static const PRUnicharread (const PRUnichar *s)
static void advance (const PRUnichar *&s, difference_type n)

Detailed Description

Definition at line 722 of file nsCharTraits.h.

Member Typedef Documentation

Definition at line 724 of file nsCharTraits.h.

Member Function Documentation

static void nsCharSourceTraits< const PRUnichar * >::advance ( const PRUnichar *&  s,
difference_type  n 
) [inline, static]

Definition at line 750 of file nsCharTraits.h.

        s += n;
static const PRUnichar* nsCharSourceTraits< const PRUnichar * >::read ( const PRUnichar s) [inline, static]

Definition at line 743 of file nsCharTraits.h.

        return s;

Definition at line 728 of file nsCharTraits.h.

        return PRUint32(nsCharTraits<PRUnichar>::length(s));
//      return numeric_limits<PRUint32>::max();
static PRUint32 nsCharSourceTraits< const PRUnichar * >::readable_distance ( const PRUnichar first,
const PRUnichar last 
) [inline, static]

Definition at line 736 of file nsCharTraits.h.

        return PRUint32(last-first);

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