Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
addon
doxmlparser
src
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
;
22
class
LinkedTextImpl
:
public
ILinkedText
23
{
24
public
:
25
virtual
~LinkedTextImpl
() {}
26
};
27
28
class
LinkedTextHandler
:
public
BaseHandler
<LinkedTextHandler>
29
{
30
public
:
31
LinkedTextHandler
(
IBaseHandler
*
parent
,
QList<LinkedTextImpl>
&children);
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
:
42
IBaseHandler
*
m_parent
;
43
QList<LinkedTextImpl>
&
m_children
;
44
LT_Ref
*
m_ref
;
45
};
46
47
class
LinkedTextIterator
:
public
BaseIterator
<ILinkedTextIterator,ILinkedText,LinkedTextImpl>
48
{
49
public
:
50
LinkedTextIterator
(
const
QList<LinkedTextImpl>
&list) :
51
BaseIterator
<
ILinkedTextIterator
,
ILinkedText
,
LinkedTextImpl
>(list) {}
52
};
53
54
#endif
ValidateOpDetReco.end
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
Definition:
ValidateOpDetReco.py:548
LinkedTextHandler::m_children
QList< LinkedTextImpl > & m_children
Definition:
linkedtexthandler.h:43
LinkedTextHandler::m_parent
IBaseHandler * m_parent
Definition:
linkedtexthandler.h:42
QString
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition:
qstring.h:350
BaseIterator
Definition:
baseiterator.h:21
IBaseHandler
Definition:
basehandler.h:27
LinkedTextImpl
Definition:
linkedtexthandler.h:22
LinkedTextIterator
Definition:
linkedtexthandler.h:47
LinkedTextHandler::m_ref
LT_Ref * m_ref
Definition:
linkedtexthandler.h:44
toString
string toString(const TVector3 &xyz, int w=9)
Definition:
test_WireSelector.cxx:61
BaseHandler
Definition:
basehandler.h:126
LinkedTextHandler
Definition:
linkedtexthandler.h:28
ILinkedTextIterator
Iterates over a list of ILinkedText fragments.
Definition:
doxmlintf.h:97
ILinkedText
Base interface for hyperlinked text.
Definition:
doxmlintf.h:65
QXmlAttributes
The QXmlAttributes class provides XML attributes.
Definition:
qxml.h:128
baseiterator.h
LT_Ref
Definition:
linkedtexthandler.cpp:33
basehandler.h
LinkedTextIterator::LinkedTextIterator
LinkedTextIterator(const QList< LinkedTextImpl > &list)
Definition:
linkedtexthandler.h:50
wirecell.util.wires.graph.parent
def parent(G, child, parent_type)
Definition:
graph.py:67
LinkedTextImpl::~LinkedTextImpl
virtual ~LinkedTextImpl()
Definition:
linkedtexthandler.h:25
QList< LinkedTextImpl >
Generated by
1.8.11