Back to index

lightning-sunbird  0.9+nobinonly
Public Types | Public Member Functions | Private Attributes | Friends
nsLineList_const_iterator Class Reference

#include <nsLineBox.h>

Collaboration diagram for nsLineList_const_iterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef nsLineList_const_iterator iterator_self_type
typedef
nsLineList_const_reverse_iterator 
iterator_reverse_type
typedef nsLineList_iterator iterator_nonconst_type
typedef nsLineList_reverse_iterator iterator_nonconst_reverse_type
typedef nsLineBoxreference
typedef const nsLineBoxconst_reference
typedef nsLineBoxpointer
typedef const nsLineBoxconst_pointer
typedef PRUint32 size_type
typedef PRInt32 difference_type
typedef nsLineLink link_type

Public Member Functions

iterator_self_typeoperator= (const iterator_nonconst_type &aOther)
iterator_self_typeoperator= (const iterator_nonconst_reverse_type &aOther)
iterator_self_typeoperator= (const iterator_self_type &aOther)
iterator_self_typeoperator= (const iterator_reverse_type &aOther)
iterator_self_typeoperator++ ()
iterator_self_type operator++ (int)
iterator_self_typeoperator-- ()
iterator_self_type operator-- (int)
const_reference operator* () const
const_pointer operator-> () const
const_pointer get () const
 operator const_pointer () const
const iterator_self_type next () const
const iterator_self_type prev () const
PRBool operator== (const iterator_self_type aOther) const
PRBool operator!= (const iterator_self_type aOther) const
PRBool operator== (const iterator_self_type aOther)
PRBool operator!= (const iterator_self_type aOther)

Private Attributes

const link_typemCurrent

Friends

class nsLineList
class nsLineList_iterator
class nsLineList_reverse_iterator
class nsLineList_const_reverse_iterator

Detailed Description

Definition at line 814 of file nsLineBox.h.


Member Typedef Documentation

Definition at line 831 of file nsLineBox.h.

Definition at line 828 of file nsLineBox.h.

Definition at line 834 of file nsLineBox.h.

Definition at line 825 of file nsLineBox.h.

Definition at line 824 of file nsLineBox.h.

Definition at line 823 of file nsLineBox.h.

Definition at line 822 of file nsLineBox.h.

Definition at line 836 of file nsLineBox.h.

Definition at line 830 of file nsLineBox.h.

Definition at line 827 of file nsLineBox.h.

Definition at line 833 of file nsLineBox.h.


Member Function Documentation

Definition at line 892 of file nsLineBox.h.

    {
#ifdef NS_LINELIST_DEBUG_PASS_END
      NS_ASSERTION(mCurrent != mListLink, "running past end");
#endif
      return NS_STATIC_CAST(const_pointer, mCurrent);
    }

Definition at line 910 of file nsLineBox.h.

    {
      iterator_self_type copy(*this);
      return ++copy;
    }

Here is the call graph for this function:

nsLineList_const_iterator::operator const_pointer ( ) const [inline]

Definition at line 901 of file nsLineBox.h.

    {
#ifdef NS_LINELIST_DEBUG_PASS_END
      NS_ASSERTION(mCurrent != mListLink, "running past end");
#endif
      return NS_STATIC_CAST(const_pointer, mCurrent);
    }
PRBool nsLineList_const_iterator::operator!= ( const iterator_self_type  aOther) const [inline]

Definition at line 926 of file nsLineBox.h.

        { return mCurrent != aOther.mCurrent; }
PRBool nsLineList_const_iterator::operator!= ( const iterator_self_type  aOther) [inline]

Definition at line 930 of file nsLineBox.h.

        { return mCurrent != aOther.mCurrent; }
const_reference nsLineList_const_iterator::operator* ( ) const [inline]

Definition at line 876 of file nsLineBox.h.

    {
#ifdef NS_LINELIST_DEBUG_PASS_END
      NS_ASSERTION(mCurrent != mListLink, "running past end");
#endif
      return *NS_STATIC_CAST(const_pointer, mCurrent);
    }
iterator_self_type& nsLineList_const_iterator::operator++ ( ) [inline]

Definition at line 850 of file nsLineBox.h.

    {
      mCurrent = mCurrent->_mNext;
      return *this;
    }
iterator_self_type nsLineList_const_iterator::operator++ ( int  ) [inline]

Definition at line 856 of file nsLineBox.h.

    {
      iterator_self_type rv(*this);
      mCurrent = mCurrent->_mNext;
      return rv;
    }
iterator_self_type& nsLineList_const_iterator::operator-- ( ) [inline]

Definition at line 863 of file nsLineBox.h.

    {
      mCurrent = mCurrent->_mPrev;
      return *this;
    }
iterator_self_type nsLineList_const_iterator::operator-- ( int  ) [inline]

Definition at line 869 of file nsLineBox.h.

    {
      iterator_self_type rv(*this);
      mCurrent = mCurrent->_mPrev;
      return rv;
    }
const_pointer nsLineList_const_iterator::operator-> ( ) const [inline]

Definition at line 884 of file nsLineBox.h.

    {
#ifdef NS_LINELIST_DEBUG_PASS_END
      NS_ASSERTION(mCurrent != mListLink, "running past end");
#endif
      return NS_STATIC_CAST(const_pointer, mCurrent);
    }
nsLineList_const_iterator & nsLineList_const_iterator::operator= ( const iterator_nonconst_type aOther) [inline]

Definition at line 1416 of file nsLineBox.h.

nsLineList_const_iterator & nsLineList_const_iterator::operator= ( const iterator_nonconst_reverse_type aOther) [inline]

Definition at line 1423 of file nsLineBox.h.

nsLineList_const_iterator & nsLineList_const_iterator::operator= ( const iterator_self_type aOther) [inline]

Definition at line 1430 of file nsLineBox.h.

nsLineList_const_iterator & nsLineList_const_iterator::operator= ( const iterator_reverse_type aOther) [inline]

Definition at line 1437 of file nsLineBox.h.

PRBool nsLineList_const_iterator::operator== ( const iterator_self_type  aOther) const [inline]

Definition at line 924 of file nsLineBox.h.

        { return mCurrent == aOther.mCurrent; }
PRBool nsLineList_const_iterator::operator== ( const iterator_self_type  aOther) [inline]

Definition at line 928 of file nsLineBox.h.

        { return mCurrent == aOther.mCurrent; }

Definition at line 916 of file nsLineBox.h.

    {
      iterator_self_type copy(*this);
      return --copy;
    }

Here is the call graph for this function:


Friends And Related Function Documentation

friend class nsLineList [friend]

Definition at line 817 of file nsLineBox.h.

friend class nsLineList_const_reverse_iterator [friend]

Definition at line 820 of file nsLineBox.h.

friend class nsLineList_iterator [friend]

Definition at line 818 of file nsLineBox.h.

friend class nsLineList_reverse_iterator [friend]

Definition at line 819 of file nsLineBox.h.


Member Data Documentation

Definition at line 934 of file nsLineBox.h.


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