linkedtexthandler.h
Go to the documentation of this file.
1 /******************************************************************************
2  *
3  * $Id$
4  *
5  *
6  * Copyright (C) 1997-2015 by Dimitri van Heesch.
7  *
8  * Permission to use, copy, modify, and distribute this software and its
9  * documentation under the terms of the GNU General Public License is hereby
10  * granted. No representations are made about the suitability of this software
11  * for any purpose. It is provided "as is" without express or implied warranty.
12  * See the GNU General Public License for more details.
13  *
14  */
15 #ifndef LINKEDTEXTHANDLER_H
16 #define LINKEDTEXTHANDLER_H
17 
18 #include "baseiterator.h"
19 #include "basehandler.h"
20 
21 class LT_Ref;
23 {
24  public:
25  virtual ~LinkedTextImpl() {}
26 };
27 
28 class LinkedTextHandler : public BaseHandler<LinkedTextHandler>
29 {
30  public:
32  virtual ~LinkedTextHandler();
33  virtual void start(const char *endTag);
34  virtual void end();
35  virtual void startRef(const QXmlAttributes& attrib);
36  virtual void endRef();
37  static QString toString(const QList<LinkedTextImpl> &list);
38 
39  // ILinkedText
40 
41  private:
45 };
46 
47 class LinkedTextIterator : public BaseIterator<ILinkedTextIterator,ILinkedText,LinkedTextImpl>
48 {
49  public:
52 };
53 
54 #endif
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
QList< LinkedTextImpl > & m_children
IBaseHandler * m_parent
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
string toString(const TVector3 &xyz, int w=9)
Iterates over a list of ILinkedText fragments.
Definition: doxmlintf.h:97
Base interface for hyperlinked text.
Definition: doxmlintf.h:65
The QXmlAttributes class provides XML attributes.
Definition: qxml.h:128
LinkedTextIterator(const QList< LinkedTextImpl > &list)
def parent(G, child, parent_type)
Definition: graph.py:67
virtual ~LinkedTextImpl()