loamhandler.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 
16 #ifndef _LOAMHANDLER_H
17 #define _LOAMHANDLER_H
18 
19 #include <qstring.h>
20 #include <qlist.h>
21 #include <doxmlintf.h>
22 
23 #include "basehandler.h"
24 
25 class MainHandler;
26 class MemberReference;
27 
28 class ListOfAllMembersHandler : public BaseHandler<ListOfAllMembersHandler>
29 {
30  public:
31  virtual void startMember(const QXmlAttributes& attrib);
32  virtual void startName(const QXmlAttributes& attrib);
33  virtual void endName();
34  virtual void startScope(const QXmlAttributes& attrib);
35  virtual void endScope();
36  virtual void startListOfAllMembers(const QXmlAttributes& attrib);
37  virtual void endListOfAllMembers();
38 
41 
42  void initialize(MainHandler *mh);
43 
44  virtual IMemberReferenceIterator *members() const;
45 
46  protected:
49 };
50 
51 #endif
52 
virtual void startScope(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:49
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
virtual ~ListOfAllMembersHandler()
Definition: loamhandler.h:40
virtual void endName()
Definition: loamhandler.cpp:43
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
def parent(G, child, parent_type)
Definition: graph.py:67
void initialize(MainHandler *mh)
Definition: loamhandler.cpp:18
The interface to the object model provided by the XML parser library.