summaryrefslogtreecommitdiffstats
path: root/addon/xmlparse/memberhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'addon/xmlparse/memberhandler.h')
-rw-r--r--addon/xmlparse/memberhandler.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/addon/xmlparse/memberhandler.h b/addon/xmlparse/memberhandler.h
deleted file mode 100644
index ccb4a57..0000000
--- a/addon/xmlparse/memberhandler.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/******************************************************************************
- *
- * $Id$
- *
- *
- * Copyright (C) 1997-2001 by Dimitri van Heesch.
- *
- * Permission to use, copy, modify, and distribute this software and its
- * documentation under the terms of the GNU General Public License is hereby
- * granted. No representations are made about the suitability of this software
- * for any purpose. It is provided "as is" without express or implied warranty.
- * See the GNU General Public License for more details.
- *
- */
-
-#ifndef _MEMBERHANDLER_H
-#define _MEMBERHANDLER_H
-
-#include <qstring.h>
-#include <qlist.h>
-#include <qxml.h>
-
-#include "basehandler.h"
-#include "paramhandler.h"
-#include "doxmlintf.h"
-
-class DocHandler;
-class MainHandler;
-
-class MemberHandler : public IMember, public BaseHandler<MemberHandler>
-{
- public:
- virtual void startMember(const QXmlAttributes& attrib);
- virtual void endMember();
- virtual void startParam(const QXmlAttributes& attrib);
- virtual void endType();
- virtual void endName();
- virtual void startBriefDesc(const QXmlAttributes& attrib);
- virtual void startDetailedDesc(const QXmlAttributes& attrib);
- virtual void startLocation(const QXmlAttributes& attrib);
- virtual void startReferences(const QXmlAttributes& attrib);
- virtual void endReferences();
- virtual void startReferencedBy(const QXmlAttributes& attrib);
- virtual void endReferencedBy();
-
- MemberHandler(IBaseHandler *parent);
- virtual ~MemberHandler();
-
- // IMember
- virtual QString kind() const { return m_kind; }
- virtual QString id() const { return m_id; }
- virtual QString protection() const { return m_protection; }
- virtual QString virtualness() const { return m_virtualness; }
- virtual QString type() const { return m_type; }
- virtual QString name() const { return m_name; }
- virtual QListIterator<IParam> getParamIterator() const { return m_params; }
-
- void initialize(MainHandler *m);
-
- private:
- struct MemberReference : public IMemberReference
- {
- virtual ~MemberReference() {}
- virtual IMember *getMember() const;
- virtual QString getMemberName() const { return m_name; }
- virtual int getLineNumber() const { return m_line; }
- void initialize(MainHandler *m);
-
- QString m_memId;
- QString m_name;
- int m_line;
- MainHandler *m_mainHandler;
- };
-
- IBaseHandler *m_parent;
- QString m_kind;
- QString m_id;
- QString m_protection;
- QString m_virtualness;
- QString m_type;
- QString m_name;
- DocHandler *m_brief;
- DocHandler *m_detailed;
- QList<IParam> m_params;
- QList<MemberReference> m_references;
- QList<MemberReference> m_referencedBy;
- QString m_defFile;
- int m_defLine;
-};
-
-#endif