From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Mon Nov 10 2003 - 15:39:37 EST
This is the gist:
class UT_TextIterator: pure abstract class that defines generic
iterator API so that we can pass references to iterators in and out
of all kinds of functions
derived classes
PD_DocIterator
PD_StruxIterator
two slightly different iterators over the text of a document; the
former can iterate over the entire document, the latter iterates from
a given strux forward. They use slightly different mechanisms for
moving around, making them suited to different things;
PD_StruxIterator is functionally equivalent to the getSpanPtr()
mechanism.
I have now replaced first batch of getSpanPtr() calls in fp_TextRun
with PD_StruxIterator, hope to do the remainder later this week.
files: ut_TextIterator.h, pd_Iterator.h/cpp, fp_TextRun.h/cpp, ptbl
makefiles
Tomas
This archive was generated by hypermail 2.1.4 : Mon Nov 10 2003 - 15:40:40 EST