lib Library API Documentation

ElementIndex Class Reference

A type that describes an index. More...

#include <kformuladefs.h>

List of all members.

Public Member Functions

virtual void moveToIndex (FormulaCursor *, Direction)=0
virtual void setToIndex (FormulaCursor *)=0
virtual bool hasIndex () const =0
virtual BasicElementgetElement ()=0


Detailed Description

A type that describes an index.

You can get one of those for each index from an element that owns indexes.

This type is used to work on indexes in a generic way.

Definition at line 200 of file kformuladefs.h.


Member Function Documentation

virtual void ElementIndex::moveToIndex FormulaCursor ,
Direction 
[pure virtual]
 

Moves the cursor inside the index.

The index has to exist.

virtual void ElementIndex::setToIndex FormulaCursor  )  [pure virtual]
 

Sets the cursor to point to the place where the index normaly is.

These functions are only used if there is no such index and we want to insert them.

virtual bool ElementIndex::hasIndex  )  const [pure virtual]
 

Tells whether we own those indexes.

virtual BasicElement* ElementIndex::getElement  )  [pure virtual]
 

Tells to which element the index belongs.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for lib Library Version 1.3.5.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Nov 17 06:54:21 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003