• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KHTML

  • khtml
  • TableRowIterator
Public Member Functions | Protected Attributes | List of all members
khtml::TableRowIterator Class Reference

#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.

Author
Leo Savernik

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
tabletable to iterate through.
fromEndtrue to iterate towards the beginning
rowpointer to row to start with, 0 starts at the first/last row.

Definition at line 2010 of file khtml_caret.cpp.

khtml::TableRowIterator::TableRowIterator ( RenderTableSection *  section,
int  index 
)
inline

Constructs a new iterator.

Parameters
sectiontable section to begin with
indexindex within table section

Definition at line 886 of file khtml_caret_p.h.

khtml::TableRowIterator::TableRowIterator ( )
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

RenderTableSection::RowStruct* khtml::TableRowIterator::operator* ( )
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

int khtml::TableRowIterator::index
protected

Definition at line 871 of file khtml_caret_p.h.

TableSectionIterator khtml::TableRowIterator::sec
protected

Definition at line 870 of file khtml_caret_p.h.


The documentation for this class was generated from the following files:
  • khtml_caret_p.h
  • khtml_caret.cpp
This file is part of the KDE documentation.
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.

KHTML

Skip menu "KHTML"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal