Public Member Functions | Protected Attributes | List of all members
ListOfAllMembersHandler Class Reference

#include <loamhandler.h>

Inheritance diagram for ListOfAllMembersHandler:
BaseHandler< ListOfAllMembersHandler > QXmlDefaultHandler ElementMapper< ListOfAllMembersHandler > LocatorContainer IBaseHandler QXmlContentHandler QXmlErrorHandler QXmlDTDHandler QXmlEntityResolver QXmlLexicalHandler QXmlDeclHandler

Public Member Functions

virtual void startMember (const QXmlAttributes &attrib)
 
virtual void startName (const QXmlAttributes &attrib)
 
virtual void endName ()
 
virtual void startScope (const QXmlAttributes &attrib)
 
virtual void endScope ()
 
virtual void startListOfAllMembers (const QXmlAttributes &attrib)
 
virtual void endListOfAllMembers ()
 
 ListOfAllMembersHandler (IBaseHandler *parent)
 
virtual ~ListOfAllMembersHandler ()
 
void initialize (MainHandler *mh)
 
virtual IMemberReferenceIteratormembers () const
 
- Public Member Functions inherited from BaseHandler< ListOfAllMembersHandler >
 BaseHandler ()
 
virtual ~BaseHandler ()
 
virtual bool startDocument ()
 
virtual bool startElement (const QString &namespaceURI, const QString &localName, const QString &name, const QXmlAttributes &attrib)
 
virtual bool endElement (const QString &namespaceURI, const QString &localName, const QString &name)
 
bool skippedEntity (const QString &s)
 
virtual bool characters (const QString &ch)
 
void setDelegate (QXmlDefaultHandler *delegate)
 
QXmlDefaultHandlerdelegate () const
 
void setFallBackHandler (IFallBackHandler *h)
 
IFallBackHandlerfallBackHandler () const
 
void setDocumentLocator (QXmlLocator *locator)
 
- Public Member Functions inherited from QXmlDefaultHandler
 QXmlDefaultHandler ()
 
virtual ~QXmlDefaultHandler ()
 
bool endDocument ()
 
bool startPrefixMapping (const QString &prefix, const QString &uri)
 
bool endPrefixMapping (const QString &prefix)
 
bool ignorableWhitespace (const QString &ch)
 
bool processingInstruction (const QString &target, const QString &data)
 
bool warning (const QXmlParseException &exception)
 
bool error (const QXmlParseException &exception)
 
bool fatalError (const QXmlParseException &exception)
 
bool notationDecl (const QString &name, const QString &publicId, const QString &systemId)
 
bool unparsedEntityDecl (const QString &name, const QString &publicId, const QString &systemId, const QString &notationName)
 
bool resolveEntity (const QString &publicId, const QString &systemId, QXmlInputSource *&ret)
 
bool startDTD (const QString &name, const QString &publicId, const QString &systemId)
 
bool endDTD ()
 
bool startCDATA ()
 
bool endCDATA ()
 
bool comment (const QString &ch)
 
bool attributeDecl (const QString &eName, const QString &aName, const QString &type, const QString &valueDefault, const QString &value)
 
bool internalEntityDecl (const QString &name, const QString &value)
 
bool externalEntityDecl (const QString &name, const QString &publicId, const QString &systemId)
 
QString errorString ()
 
- Public Member Functions inherited from QXmlContentHandler
virtual ~QXmlContentHandler ()
 
- Public Member Functions inherited from QXmlErrorHandler
virtual ~QXmlErrorHandler ()
 
- Public Member Functions inherited from QXmlDTDHandler
virtual ~QXmlDTDHandler ()
 
- Public Member Functions inherited from QXmlEntityResolver
virtual ~QXmlEntityResolver ()
 
- Public Member Functions inherited from QXmlLexicalHandler
virtual ~QXmlLexicalHandler ()
 
- Public Member Functions inherited from QXmlDeclHandler
virtual ~QXmlDeclHandler ()
 
- Public Member Functions inherited from ElementMapper< ListOfAllMembersHandler >
 ElementMapper ()
 
virtual ~ElementMapper ()
 
void addStartHandler (const char *key)
 
void addStartHandler (const char *key, ListOfAllMembersHandler *obj, void(ListOfAllMembersHandler::*handler)(const QXmlAttributes &))
 
void addEndHandler (const char *key)
 
void addEndHandler (const char *key, ListOfAllMembersHandler *obj, void(ListOfAllMembersHandler::*handler)())
 
- Public Member Functions inherited from IBaseHandler
virtual ~IBaseHandler ()
 

Protected Attributes

IBaseHandlerm_parent
 
QList< MemberReferencem_members
 
- Protected Attributes inherited from BaseHandler< ListOfAllMembersHandler >
QString m_curString
 
QString m_skipUntil
 
int m_skipCount
 
QXmlDefaultHandlerm_delegateHandler
 
IFallBackHandlerm_fallBackHandler
 
- Protected Attributes inherited from ElementMapper< ListOfAllMembersHandler >
QDict< StartElementHandlerTm_startHandlers
 
QDict< EndElementHandlerTm_endHandlers
 

Additional Inherited Members

- Public Types inherited from BaseHandler< ListOfAllMembersHandler >
typedef ElementMapper< ListOfAllMembersHandler >::StartElementHandlerT StartElementHandlerT
 
typedef ElementMapper< ListOfAllMembersHandler >::EndElementHandlerT EndElementHandlerT
 
- Public Types inherited from ElementMapper< ListOfAllMembersHandler >
typedef StartElementHandler StartElementHandlerT
 
typedef EndElementHandler EndElementHandlerT
 
- Static Public Attributes inherited from LocatorContainer
static QXmlLocators_theLocator =0
 

Detailed Description

Definition at line 28 of file loamhandler.h.

Constructor & Destructor Documentation

ListOfAllMembersHandler::ListOfAllMembersHandler ( IBaseHandler parent)

Definition at line 5 of file loamhandler.cpp.

5  : m_parent(parent)
6 {
8 
14 
16 }
virtual void startScope(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:49
virtual void endScope()
Definition: loamhandler.cpp:54
IBaseHandler * m_parent
Definition: loamhandler.h:47
QList< MemberReference > m_members
Definition: loamhandler.h:48
virtual void startName(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:38
virtual void endName()
Definition: loamhandler.cpp:43
virtual void endListOfAllMembers()
Definition: loamhandler.cpp:66
virtual void startMember(const QXmlAttributes &attrib)
Definition: loamhandler.cpp:28
void addStartHandler(const char *key)
Definition: basehandler.h:91
void setAutoDelete(bool enable)
Definition: qlist.h:99
const bool TRUE
Definition: qglobal.h:371
virtual ListOfAllMembersHandler::~ListOfAllMembersHandler ( )
inlinevirtual

Definition at line 40 of file loamhandler.h.

40 {}

Member Function Documentation

void ListOfAllMembersHandler::endListOfAllMembers ( )
virtual

Definition at line 66 of file loamhandler.cpp.

67 {
69  debug(2,"listofallmembers end\n");
70 }
IBaseHandler * m_parent
Definition: loamhandler.h:47
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
void ListOfAllMembersHandler::endName ( )
virtual

Definition at line 43 of file loamhandler.cpp.

44 {
47 }
QList< MemberReference > m_members
Definition: loamhandler.h:48
type * getLast() const
Definition: qlist.h:96
StringImpl m_name
Definition: memberhandler.h:49
#define ASSERT(x)
Definition: qglobal.h:590
void ListOfAllMembersHandler::endScope ( )
virtual

Definition at line 54 of file loamhandler.cpp.

55 {
58 }
QList< MemberReference > m_members
Definition: loamhandler.h:48
type * getLast() const
Definition: qlist.h:96
StringImpl m_scope
Definition: memberhandler.h:50
#define ASSERT(x)
Definition: qglobal.h:590
void ListOfAllMembersHandler::initialize ( MainHandler mh)

Definition at line 18 of file loamhandler.cpp.

19 {
21  MemberReference *mr;
22  for (;(mr=mli.current());++mli)
23  {
24  mr->initialize(mh);
25  }
26 }
void initialize(MainHandler *m)
QList< MemberReference > m_members
Definition: loamhandler.h:48
IMemberReferenceIterator * ListOfAllMembersHandler::members ( ) const
virtual

Definition at line 72 of file loamhandler.cpp.

73 {
75 }
QList< MemberReference > m_members
Definition: loamhandler.h:48
void ListOfAllMembersHandler::startListOfAllMembers ( const QXmlAttributes attrib)
virtual

Definition at line 60 of file loamhandler.cpp.

61 {
62  m_parent->setDelegate(this);
63  debug(2,"listofallmembers start\n");
64 }
IBaseHandler * m_parent
Definition: loamhandler.h:47
virtual void setDelegate(QXmlDefaultHandler *delegate)=0
void ListOfAllMembersHandler::startMember ( const QXmlAttributes attrib)
virtual

Definition at line 28 of file loamhandler.cpp.

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 }
void append(const type *d)
Definition: qlist.h:73
QList< MemberReference > m_members
Definition: loamhandler.h:48
QString value(int index) const
Definition: qxml.cpp:664
StringImpl m_protection
Definition: memberhandler.h:52
StringImpl m_ambiguityScope
Definition: memberhandler.h:53
StringImpl m_virtualness
Definition: memberhandler.h:51
void ListOfAllMembersHandler::startName ( const QXmlAttributes attrib)
virtual

Definition at line 38 of file loamhandler.cpp.

39 {
40  m_curString="";
41 }
void ListOfAllMembersHandler::startScope ( const QXmlAttributes attrib)
virtual

Definition at line 49 of file loamhandler.cpp.

50 {
51  m_curString="";
52 }

Member Data Documentation

QList<MemberReference> ListOfAllMembersHandler::m_members
protected

Definition at line 48 of file loamhandler.h.

IBaseHandler* ListOfAllMembersHandler::m_parent
protected

Definition at line 47 of file loamhandler.h.


The documentation for this class was generated from the following files: