loamhandler.cpp
Go to the documentation of this file.
1 #include "loamhandler.h"
2 #include "memberhandler.h"
3 
4 
6 {
8 
14 
16 }
17 
19 {
21  MemberReference *mr;
22  for (;(mr=mli.current());++mli)
23  {
24  mr->initialize(mh);
25  }
26 }
27 
29 {
31  mr->m_memId = attrib.value("refid");
32  mr->m_virtualness = attrib.value("virt");
33  mr->m_protection = attrib.value("prot");
34  mr->m_ambiguityScope = attrib.value("ambiguityscope");
36 }
37 
39 {
40  m_curString="";
41 }
42 
44 {
47 }
48 
50 {
51  m_curString="";
52 }
53 
55 {
58 }
59 
61 {
62  m_parent->setDelegate(this);
63  debug(2,"listofallmembers start\n");
64 }
65 
67 {
69  debug(2,"listofallmembers end\n");
70 }
71 
73 {
75 }
void initialize(MainHandler *m)
virtual void startScope(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:49
void append(const type *d)
Definition: qlist.h:73
virtual void endScope()
Definition: loamhandler.cpp:54
IBaseHandler * m_parent
Definition: loamhandler.h:47
virtual IMemberReferenceIterator * members() const
Definition: loamhandler.cpp:72
QList< MemberReference > m_members
Definition: loamhandler.h:48
ListOfAllMembersHandler(IBaseHandler *parent)
Definition: loamhandler.cpp:5
virtual void startName(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:38
QString value(int index) const
Definition: qxml.cpp:664
StringImpl m_protection
Definition: memberhandler.h:52
type * getLast() const
Definition: qlist.h:96
StringImpl m_scope
Definition: memberhandler.h:50
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
virtual void endName()
Definition: loamhandler.cpp:43
type * current() const
Definition: qlist.h:146
virtual void endListOfAllMembers()
Definition: loamhandler.cpp:66
virtual void startMember(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:28
The QXmlAttributes class provides XML attributes.
Definition: qxml.h:128
virtual void startListOfAllMembers(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:60
StringImpl m_name
Definition: memberhandler.h:49
void addStartHandler(const char *key)
Definition: basehandler.h:91
void setAutoDelete(bool enable)
Definition: qlist.h:99
StringImpl m_ambiguityScope
Definition: memberhandler.h:53
def parent(G, child, parent_type)
Definition: graph.py:67
const bool TRUE
Definition: qglobal.h:371
void initialize(MainHandler *mh)
Definition: loamhandler.cpp:18
StringImpl m_virtualness
Definition: memberhandler.h:51
#define ASSERT(x)
Definition: qglobal.h:590