Back to index

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

#include <nsCharTraits.h>

List of all members.

Public Types


Static Public Member Functions

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

Detailed Description

template<class InputIterator>
struct nsCharSourceTraits< InputIterator >

Definition at line 619 of file nsCharTraits.h.

Member Typedef Documentation

template<class InputIterator >
typedef InputIterator::difference_type nsCharSourceTraits< InputIterator >::difference_type

Definition at line 621 of file nsCharTraits.h.

Member Function Documentation

template<class InputIterator >
static void nsCharSourceTraits< InputIterator >::advance ( InputIterator &  s,
difference_type  n 
) [inline, static]

Definition at line 640 of file nsCharTraits.h.

template<class InputIterator >
static const InputIterator::value_type* nsCharSourceTraits< InputIterator >::read ( const InputIterator &  iter) [inline, static]

Definition at line 633 of file nsCharTraits.h.

        return iter.get();
template<class InputIterator >
static PRUint32 nsCharSourceTraits< InputIterator >::readable_distance ( const InputIterator &  first,
const InputIterator &  last 
) [inline, static]

Definition at line 625 of file nsCharTraits.h.

        // assumes single fragment
        return last.get() - first.get();

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