KDevelop API Documentation

StructureParser Class Reference

Subclassed XML parser which is used to pull the details from our XML file and load the data into the dictionary and listbox objects. More...

#include <structureparser.h>

Inheritance diagram for StructureParser:

Inheritance graph
[legend]
Collaboration diagram for StructureParser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StructureParser (BugList *Parent)
virtual bool startDocument ()
virtual bool endDocument ()
virtual bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
virtual bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)
virtual bool characters (const QString &ch)
void AddDeveloper ()

Public Attributes

BugCurrentBug
BugListm_pParent

Private Types

enum  StateType {
  stateUnknown = 0, stateDeveloperID = 1, stateInitials = 2, stateCounter = 3,
  stateBugID = 4, stateDescription = 5, stateSeverity = 6, stateBugClass = 7,
  stateReportUserName = 8, stateReportEMail = 9, stateReportDate = 10, stateFixed = 11,
  stateFixDate = 12, statePackage = 13, stateVersionNo = 14, stateNotes = 15,
  stateLocation = 16, stateWorkaround = 17, stateFixScheduled = 18, stateAssignedTo = 19,
  stateAssignedDate = 20, stateAssignedEMail = 21, stateSysInfo = 22, statePriority = 23,
  stateRepeat = 24
}

Private Attributes

StateType State
int CurrentCount
QString CurrentInitials

Detailed Description

Subclassed XML parser which is used to pull the details from our XML file and load the data into the dictionary and listbox objects.

Definition at line 35 of file structureparser.h.


Member Enumeration Documentation

enum StructureParser::StateType [private]
 

Enumeration values:
stateUnknown 
stateDeveloperID 
stateInitials 
stateCounter 
stateBugID 
stateDescription 
stateSeverity 
stateBugClass 
stateReportUserName 
stateReportEMail 
stateReportDate 
stateFixed 
stateFixDate 
statePackage 
stateVersionNo 
stateNotes 
stateLocation 
stateWorkaround 
stateFixScheduled 
stateAssignedTo 
stateAssignedDate 
stateAssignedEMail 
stateSysInfo 
statePriority 
stateRepeat 

Definition at line 58 of file structureparser.h.


Constructor & Destructor Documentation

StructureParser::StructureParser BugList Parent  ) 
 

Definition at line 21 of file structureparser.cpp.

References m_pParent.


Member Function Documentation

void StructureParser::AddDeveloper  ) 
 

Definition at line 301 of file structureparser.cpp.

References BugList::Developers, BugCounter::Initials, BugCounter::LastBugNumber, and m_pParent.

Referenced by endElement().

bool StructureParser::characters const QString ch  )  [virtual]
 

Definition at line 162 of file structureparser.cpp.

References Bug::AssignedDate, Bug::AssignedEMail, Bug::AssignedTo, Bug::BugClass, Bug::BugID, CurrentBug, CurrentCount, CurrentInitials, Bug::Description, Bug::FixScheduled, Bug::Location, Bug::Notes, Bug::Package, Bug::Priority, Bug::Repeat, Bug::ReportDate, Bug::ReportEMail, Bug::ReportUserName, Bug::Severity, stateAssignedDate, stateAssignedEMail, stateAssignedTo, stateBugClass, stateBugID, stateCounter, stateDescription, stateDeveloperID, stateFixDate, stateFixed, stateFixScheduled, stateInitials, stateLocation, stateNotes, statePackage, statePriority, stateRepeat, stateReportDate, stateReportEMail, stateReportUserName, stateSeverity, stateSysInfo, stateUnknown, stateVersionNo, stateWorkaround, Bug::SysInfo, Bug::VersionNo, and Bug::Workaround.

bool StructureParser::endDocument  )  [virtual]
 

Definition at line 36 of file structureparser.cpp.

bool StructureParser::endElement const QString namespaceURI,
const QString localName,
const QString qName
[virtual]
 

Definition at line 280 of file structureparser.cpp.

References AddDeveloper(), CurrentBug, BugList::InsertBug(), and m_pParent.

bool StructureParser::startDocument  )  [virtual]
 

Definition at line 27 of file structureparser.cpp.

References m_pParent, and BugList::pMainBugList.

bool StructureParser::startElement const QString namespaceURI,
const QString localName,
const QString qName,
const QXmlAttributes atts
[virtual]
 

Definition at line 42 of file structureparser.cpp.

References CurrentBug, and State.


Member Data Documentation

Bug* StructureParser::CurrentBug
 

Definition at line 53 of file structureparser.h.

Referenced by characters(), endElement(), and startElement().

int StructureParser::CurrentCount [private]
 

Definition at line 89 of file structureparser.h.

Referenced by characters().

QString StructureParser::CurrentInitials [private]
 

Definition at line 90 of file structureparser.h.

Referenced by characters().

BugList* StructureParser::m_pParent
 

Definition at line 54 of file structureparser.h.

Referenced by AddDeveloper(), endElement(), startDocument(), and StructureParser().

StateType StructureParser::State [private]
 

Definition at line 88 of file structureparser.h.

Referenced by startElement().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:30:22 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003