Back to index

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

#include <nsLineBox.h>

Collaboration diagram for nsLineList_reverse_iterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef nsLineList_reverse_iterator iterator_self_type
typedef nsLineList_iterator iterator_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_reverse_type &aOther)
iterator_self_typeoperator= (const iterator_self_type &aOther)
iterator_self_typeoperator++ ()
iterator_self_type operator++ (int)
iterator_self_typeoperator-- ()
iterator_self_type operator-- (int)
reference operator* ()
pointer operator-> ()
pointer get ()
 operator pointer ()
const_reference operator* () const
const_pointer operator-> () const
 operator const_pointer () 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

link_typemCurrent

Friends

class nsLineList
class nsLineList_iterator
class nsLineList_const_iterator
class nsLineList_const_reverse_iterator

Detailed Description

Definition at line 681 of file nsLineBox.h.


Member Typedef Documentation

Definition at line 697 of file nsLineBox.h.

Definition at line 694 of file nsLineBox.h.

Definition at line 700 of file nsLineBox.h.

Definition at line 691 of file nsLineBox.h.

Definition at line 690 of file nsLineBox.h.

Definition at line 702 of file nsLineBox.h.

Definition at line 696 of file nsLineBox.h.

Definition at line 693 of file nsLineBox.h.

Definition at line 699 of file nsLineBox.h.


Member Function Documentation

Definition at line 754 of file nsLineBox.h.

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

Definition at line 787 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_reverse_iterator::operator pointer ( ) [inline]

Definition at line 762 of file nsLineBox.h.

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

Definition at line 800 of file nsLineBox.h.

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

Definition at line 804 of file nsLineBox.h.

        { return mCurrent != aOther.mCurrent; }
reference nsLineList_reverse_iterator::operator* ( ) [inline]

Definition at line 738 of file nsLineBox.h.

    {
#ifdef NS_LINELIST_DEBUG_PASS_END
      NS_ASSERTION(mCurrent != mListLink, "running past end");
#endif
      return *NS_STATIC_CAST(pointer, mCurrent);
    }
const_reference nsLineList_reverse_iterator::operator* ( ) const [inline]

Definition at line 770 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_reverse_iterator::operator++ ( ) [inline]

Definition at line 712 of file nsLineBox.h.

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

Definition at line 718 of file nsLineBox.h.

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

Definition at line 725 of file nsLineBox.h.

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

Definition at line 731 of file nsLineBox.h.

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

Definition at line 746 of file nsLineBox.h.

    {
#ifdef NS_LINELIST_DEBUG_PASS_END
      NS_ASSERTION(mCurrent != mListLink, "running past end");
#endif
      return NS_STATIC_CAST(pointer, mCurrent);
    }
const_pointer nsLineList_reverse_iterator::operator-> ( ) const [inline]

Definition at line 778 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_reverse_iterator & nsLineList_reverse_iterator::operator= ( const iterator_reverse_type aOther) [inline]

Definition at line 1402 of file nsLineBox.h.

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

Definition at line 1409 of file nsLineBox.h.

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

Definition at line 798 of file nsLineBox.h.

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

Definition at line 802 of file nsLineBox.h.

        { return mCurrent == aOther.mCurrent; }

Friends And Related Function Documentation

friend class nsLineList [friend]

Definition at line 685 of file nsLineBox.h.

friend class nsLineList_const_iterator [friend]

Definition at line 687 of file nsLineBox.h.

friend class nsLineList_const_reverse_iterator [friend]

Definition at line 688 of file nsLineBox.h.

friend class nsLineList_iterator [friend]

Definition at line 686 of file nsLineBox.h.


Member Data Documentation

Definition at line 808 of file nsLineBox.h.


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