Back to index

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

#include <nsLineBox.h>

Collaboration diagram for nsLineList_const_reverse_iterator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
nsLineList_const_reverse_iterator 
iterator_self_type
typedef nsLineList_const_iterator iterator_reverse_type
typedef nsLineList_iterator iterator_nonconst_reverse_type
typedef nsLineList_reverse_iterator iterator_nonconst_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
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)

Public Attributes

const link_typemCurrent

Friends

class nsLineList
class nsLineList_iterator
class nsLineList_reverse_iterator
class nsLineList_const_iterator

Detailed Description

Definition at line 940 of file nsLineBox.h.


Member Typedef Documentation

Definition at line 957 of file nsLineBox.h.

Definition at line 954 of file nsLineBox.h.

Definition at line 960 of file nsLineBox.h.

Definition at line 950 of file nsLineBox.h.

Definition at line 951 of file nsLineBox.h.

Definition at line 949 of file nsLineBox.h.

Definition at line 948 of file nsLineBox.h.

Definition at line 962 of file nsLineBox.h.

Definition at line 956 of file nsLineBox.h.

Definition at line 953 of file nsLineBox.h.

Definition at line 959 of file nsLineBox.h.


Member Function Documentation

Definition at line 1018 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_reverse_iterator::operator const_pointer ( ) const [inline]

Definition at line 1027 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_reverse_iterator::operator!= ( const iterator_self_type  aOther) const [inline]

Definition at line 1040 of file nsLineBox.h.

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

Definition at line 1044 of file nsLineBox.h.

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

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

Definition at line 976 of file nsLineBox.h.

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

Definition at line 982 of file nsLineBox.h.

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

Definition at line 989 of file nsLineBox.h.

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

Definition at line 995 of file nsLineBox.h.

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

Definition at line 1010 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_reverse_iterator & nsLineList_const_reverse_iterator::operator= ( const iterator_nonconst_type aOther) [inline]

Definition at line 1451 of file nsLineBox.h.

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

Definition at line 1444 of file nsLineBox.h.

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

Definition at line 1465 of file nsLineBox.h.

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

Definition at line 1458 of file nsLineBox.h.

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

Definition at line 1038 of file nsLineBox.h.

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

Definition at line 1042 of file nsLineBox.h.

        { return mCurrent == aOther.mCurrent; }

Friends And Related Function Documentation

friend class nsLineList [friend]

Definition at line 943 of file nsLineBox.h.

friend class nsLineList_const_iterator [friend]

Definition at line 946 of file nsLineBox.h.

friend class nsLineList_iterator [friend]

Definition at line 944 of file nsLineBox.h.

friend class nsLineList_reverse_iterator [friend]

Definition at line 945 of file nsLineBox.h.


Member Data Documentation

Definition at line 1048 of file nsLineBox.h.


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