KXQTS::ResultThreader Class Reference

Reads XML in the XQTSResult.xsd format, as a thread, allowing multiple parses to be done simultaneously. More...

#include <ResultThreader.h>

Inheritance diagram for KXQTS::ResultThreader:

Inheritance graph
[legend]
Collaboration diagram for KXQTS::ResultThreader:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Type { Baseline = 1, Result }

Public Member Functions

 ResultThreader (QFile *file, const Type type, QObject *parent)
virtual void run ()
Type type () const

Detailed Description

Reads XML in the XQTSResult.xsd format, as a thread, allowing multiple parses to be done simultaneously.

Author:
Frans Englich <frans.englich@telia.com>

Definition at line 33 of file ResultThreader.h.


Constructor & Destructor Documentation

ResultThreader::ResultThreader ( QFile *  file,
const Type  type,
QObject *  parent 
)

Creates a ResultThreader that will read file when run() is called.

Definition at line 21 of file ResultThreader.cpp.


Member Function Documentation

void ResultThreader::run (  )  [virtual]

Parses the file passed in this class's constructor with this ResultHandlerTH::Item::LisT as the QXmlContentHandler, and returns.

Definition at line 32 of file ResultThreader.cpp.

ResultThreader::Type ResultThreader::type (  )  const

Note:
Do not reimplement this function.
Returns:
whether this ResultThreader handles the baseline or the result.

Definition at line 45 of file ResultThreader.cpp.

Referenced by KXQTS::Worker::threadFinished().


The documentation for this class was generated from the following files:
Generated on Thu Feb 8 14:54:31 2007 for Patternist by  doxygen 1.5.1