khtml Library API Documentation

khtml::CaretBoxIterator Class Reference

Iterates over the elements of a caret box line. More...

#include <khtml_caret_p.h>

Inheritance diagram for khtml::CaretBoxIterator:

khtml::EditableCaretBoxIterator List of all members.

Public Member Functions

bool operator== (const CaretBoxIterator &it) const
bool operator!= (const CaretBoxIterator &it) const
CaretBoxdata () const
CaretBoxoperator * () const
CaretBoxIteratoroperator++ ()
CaretBoxIteratoroperator-- ()

Protected Attributes

CaretBoxLinecbl
int index

Friends

class CaretBoxLine
class EditableCaretBoxIterator

Detailed Description

Iterates over the elements of a caret box line.

Author:
Leo Savernik

Definition at line 236 of file khtml_caret_p.h.


Member Function Documentation

CaretBox * khtml::CaretBoxIterator::data  )  const [inline]
 

returns the current caret box.

Returns:
current caret box

Definition at line 486 of file khtml_caret_p.h.

References khtml::CaretBoxLine::caret_boxes.

Referenced by operator *().

CaretBox* khtml::CaretBoxIterator::operator *  )  const [inline]
 

shortcut for data

Returns:
current caret box

Definition at line 262 of file khtml_caret_p.h.

References data().

CaretBoxIterator& khtml::CaretBoxIterator::operator++  )  [inline]
 

increments the iterator to point to the next caret box.

Reimplemented in khtml::EditableCaretBoxIterator.

Definition at line 266 of file khtml_caret_p.h.

Referenced by khtml::EditableCaretBoxIterator::advance().

CaretBoxIterator& khtml::CaretBoxIterator::operator--  )  [inline]
 

decrements the iterator to point to the previous caret box.

Reimplemented in khtml::EditableCaretBoxIterator.

Definition at line 269 of file khtml_caret_p.h.

Referenced by khtml::EditableCaretBoxIterator::advance().


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for khtml Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Jan 15 13:34:55 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003