KHTML
#include <khtml_caret_p.h>
Public Member Functions | |
TableRowIterator (RenderTable *table, bool fromEnd=false, RenderTableSection::RowStruct *row=0) | |
TableRowIterator (RenderTableSection *section, int index) | |
TableRowIterator () | |
RenderTableSection::RowStruct * | operator* () |
TableRowIterator & | operator++ () |
TableRowIterator & | operator-- () |
Protected Attributes | |
int | index |
TableSectionIterator | sec |
Detailed Description
Represents a render table as a linear list of rows.
This iterator abstracts from table sections and treats tables as a linear representation of all rows they contain.
Definition at line 868 of file khtml_caret_p.h.
Constructor & Destructor Documentation
khtml::TableRowIterator::TableRowIterator | ( | RenderTable * | table, |
bool | fromEnd = false , |
||
RenderTableSection::RowStruct * | row = 0 |
||
) |
Constructs a new iterator.
- Parameters
-
table table to iterate through. fromEnd true
to iterate towards the beginningrow pointer to row to start with, 0 starts at the first/last row.
Definition at line 2010 of file khtml_caret.cpp.
|
inline |
Constructs a new iterator.
- Parameters
-
section table section to begin with index index within table section
Definition at line 886 of file khtml_caret_p.h.
|
inline |
empty constructor.
This must be assigned another iterator before it is useable.
Definition at line 893 of file khtml_caret_p.h.
Member Function Documentation
|
inline |
returns the current table row.
- Returns
- the row or 0 if the end of the table has been reached.
Definition at line 898 of file khtml_caret_p.h.
TableRowIterator & khtml::TableRowIterator::operator++ | ( | ) |
advances to the next row
Definition at line 2027 of file khtml_caret.cpp.
TableRowIterator & khtml::TableRowIterator::operator-- | ( | ) |
advances to the previous row
Definition at line 2039 of file khtml_caret.cpp.
Member Data Documentation
|
protected |
Definition at line 871 of file khtml_caret_p.h.
|
protected |
Definition at line 870 of file khtml_caret_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:24 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.