khtml::TableSectionIterator
#include <render_table.h>
Public Member Functions | |
TableSectionIterator (RenderTable *table, bool fromEnd=false) | |
TableSectionIterator (RenderTableSection *start) | |
TableSectionIterator () | |
RenderTableSection * | operator* () const |
TableSectionIterator & | operator++ () |
TableSectionIterator & | operator-- () |
Detailed Description
This class provides an iterator to iterate through the sections of a render table in their visual order.
In HTML, sections are specified in the order of THEAD, TFOOT, and TBODY. Visually, TBODY sections appear between THEAD and TFOOT, which this iterator takes into regard.
Definition at line 686 of file render_table.h.
Constructor & Destructor Documentation
TableSectionIterator::TableSectionIterator | ( | RenderTable * | table, |
bool | fromEnd = false |
||
) |
Initializes a new iterator.
- Parameters
-
table table whose sections to iterate fromEnd true
, begin with last section,false
, begin with first section.
Definition at line 3530 of file render_table.cpp.
|
inline |
Initializes a new iterator.
- Parameters
-
start table section to start with.
Definition at line 702 of file render_table.h.
|
inline |
Uninitialized iterator.
Definition at line 707 of file render_table.h.
Member Function Documentation
|
inline |
Returns the current section, or 0
if the end has been reached.
Definition at line 711 of file render_table.h.
TableSectionIterator & TableSectionIterator::operator++ | ( | ) |
Moves to the next section in visual order.
Definition at line 3568 of file render_table.cpp.
TableSectionIterator & TableSectionIterator::operator-- | ( | ) |
Moves to the previous section in visual order.
Definition at line 3601 of file render_table.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 22:48:36 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.